@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.js
CHANGED
|
@@ -8323,7 +8323,7 @@ async function withTimeout(p, ms, title) {
|
|
|
8323
8323
|
/** The runner whose globals are present: Jest, Vitest (with globals) or node:test. */
|
|
8324
8324
|
function detectRunner() {
|
|
8325
8325
|
const g = globalThis;
|
|
8326
|
-
if (g["jest"] !== void 0 || process.env["VITEST"] && typeof g["describe"] === "function") return {
|
|
8326
|
+
if ((Boolean(process.env["JEST_WORKER_ID"]) || g["jest"] !== void 0 || process.env["VITEST"]) && typeof g["describe"] === "function") return {
|
|
8327
8327
|
describe: (name, fn) => g["describe"](name, fn),
|
|
8328
8328
|
it: (name, fn) => g["it"](name, fn),
|
|
8329
8329
|
before: (fn) => g["beforeAll"](fn),
|