vitest
Version:
Next generation testing framework powered by Vite
22 lines (18 loc) • 634 B
TypeScript
import { E as Environment } from './chunks/environment.d.C8UItCbf.js';
export { a as EnvironmentReturn, V as VmEnvironmentReturn } from './chunks/environment.d.C8UItCbf.js';
declare const environments: {
"node": Environment
"jsdom": Environment
"happy-dom": Environment
"edge-runtime": Environment
};
interface PopulateOptions {
bindFunctions?: boolean;
additionalKeys?: string[];
}
declare function populateGlobal(global: any, win: any, options?: PopulateOptions): {
keys: Set<string>
skipKeys: string[]
originals: Map<string | symbol, any>
};
export { Environment, environments as builtinEnvironments, populateGlobal };