mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2025-01-23 13:54:46 +01:00
9 lines
211 B
JavaScript
9 lines
211 B
JavaScript
|
function getWorkerState() {
|
||
|
return globalThis.__vitest_worker__;
|
||
|
}
|
||
|
function getCurrentEnvironment() {
|
||
|
return globalThis.__vitest_environment__;
|
||
|
}
|
||
|
|
||
|
export { getCurrentEnvironment as a, getWorkerState as g };
|