UNPKG

@enspirit/emb

Version:

A replacement for our Makefile-for-monorepos

13 lines (12 loc) 499 B
import { EmbContext } from './types.js'; export declare const getContext: () => EmbContext; export declare const setContext: (ctx: EmbContext) => EmbContext; /** * Check if the context's EMB_ROOT matches the current environment. * Used to detect when tests switch between different example monorepos. */ export declare const isContextStale: () => boolean; /** * Reset the context. Used in testing to ensure a fresh context for each test suite. */ export declare const resetContext: () => void;