You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- import { setSafeTimers } from '@vitest/utils';
- import { a as resetRunOnceCounter } from './chunk-integrations-run-once.ea614f17.js';
-
- let globalSetup = false;
- async function setupCommonEnv(config) {
- resetRunOnceCounter();
- setupDefines(config.defines);
- if (globalSetup)
- return;
- globalSetup = true;
- setSafeTimers();
- if (config.globals)
- (await import('./chunk-integrations-globals.49802775.js')).registerApiGlobally();
- }
- function setupDefines(defines) {
- for (const key in defines)
- globalThis[key] = defines[key];
- }
-
- export { setupCommonEnv as s };
|