@sureq/store-test 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -8346,7 +8346,7 @@ async function withTimeout(p, ms, title) {
|
|
|
8346
8346
|
/** The runner whose globals are present: Jest, Vitest (with globals) or node:test. */
|
|
8347
8347
|
function detectRunner() {
|
|
8348
8348
|
const g = globalThis;
|
|
8349
|
-
if (g["jest"] !== void 0 || process.env["VITEST"] && typeof g["describe"] === "function") return {
|
|
8349
|
+
if ((Boolean(process.env["JEST_WORKER_ID"]) || g["jest"] !== void 0 || process.env["VITEST"]) && typeof g["describe"] === "function") return {
|
|
8350
8350
|
describe: (name, fn) => g["describe"](name, fn),
|
|
8351
8351
|
it: (name, fn) => g["it"](name, fn),
|
|
8352
8352
|
before: (fn) => g["beforeAll"](fn),
|