|
f7eb47b…
|
lmata
|
1 |
"use strict"; |
|
f7eb47b…
|
lmata
|
2 |
var __defProp = Object.defineProperty; |
|
f7eb47b…
|
lmata
|
3 |
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; |
|
f7eb47b…
|
lmata
|
4 |
var __getOwnPropNames = Object.getOwnPropertyNames; |
|
f7eb47b…
|
lmata
|
5 |
var __hasOwnProp = Object.prototype.hasOwnProperty; |
|
f7eb47b…
|
lmata
|
6 |
var __export = (target, all) => { |
|
f7eb47b…
|
lmata
|
7 |
for (var name in all) |
|
f7eb47b…
|
lmata
|
8 |
__defProp(target, name, { get: all[name], enumerable: true }); |
|
f7eb47b…
|
lmata
|
9 |
}; |
|
f7eb47b…
|
lmata
|
10 |
var __copyProps = (to, from, except, desc) => { |
|
f7eb47b…
|
lmata
|
11 |
if (from && typeof from === "object" || typeof from === "function") { |
|
f7eb47b…
|
lmata
|
12 |
for (let key of __getOwnPropNames(from)) |
|
f7eb47b…
|
lmata
|
13 |
if (!__hasOwnProp.call(to, key) && key !== except) |
|
f7eb47b…
|
lmata
|
14 |
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); |
|
f7eb47b…
|
lmata
|
15 |
} |
|
f7eb47b…
|
lmata
|
16 |
return to; |
|
f7eb47b…
|
lmata
|
17 |
}; |
|
f7eb47b…
|
lmata
|
18 |
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); |
|
f7eb47b…
|
lmata
|
19 |
var globals_exports = {}; |
|
f7eb47b…
|
lmata
|
20 |
__export(globals_exports, { |
|
f7eb47b…
|
lmata
|
21 |
currentTestInfo: () => currentTestInfo, |
|
f7eb47b…
|
lmata
|
22 |
currentlyLoadingFileSuite: () => currentlyLoadingFileSuite, |
|
f7eb47b…
|
lmata
|
23 |
isWorkerProcess: () => isWorkerProcess, |
|
f7eb47b…
|
lmata
|
24 |
setCurrentTestInfo: () => setCurrentTestInfo, |
|
f7eb47b…
|
lmata
|
25 |
setCurrentlyLoadingFileSuite: () => setCurrentlyLoadingFileSuite, |
|
f7eb47b…
|
lmata
|
26 |
setIsWorkerProcess: () => setIsWorkerProcess |
|
f7eb47b…
|
lmata
|
27 |
}); |
|
f7eb47b…
|
lmata
|
28 |
module.exports = __toCommonJS(globals_exports); |
|
f7eb47b…
|
lmata
|
29 |
let currentTestInfoValue = null; |
|
f7eb47b…
|
lmata
|
30 |
function setCurrentTestInfo(testInfo) { |
|
f7eb47b…
|
lmata
|
31 |
currentTestInfoValue = testInfo; |
|
f7eb47b…
|
lmata
|
32 |
} |
|
f7eb47b…
|
lmata
|
33 |
function currentTestInfo() { |
|
f7eb47b…
|
lmata
|
34 |
return currentTestInfoValue; |
|
f7eb47b…
|
lmata
|
35 |
} |
|
f7eb47b…
|
lmata
|
36 |
let currentFileSuite; |
|
f7eb47b…
|
lmata
|
37 |
function setCurrentlyLoadingFileSuite(suite) { |
|
f7eb47b…
|
lmata
|
38 |
currentFileSuite = suite; |
|
f7eb47b…
|
lmata
|
39 |
} |
|
f7eb47b…
|
lmata
|
40 |
function currentlyLoadingFileSuite() { |
|
f7eb47b…
|
lmata
|
41 |
return currentFileSuite; |
|
f7eb47b…
|
lmata
|
42 |
} |
|
f7eb47b…
|
lmata
|
43 |
let _isWorkerProcess = false; |
|
f7eb47b…
|
lmata
|
44 |
function setIsWorkerProcess() { |
|
f7eb47b…
|
lmata
|
45 |
_isWorkerProcess = true; |
|
f7eb47b…
|
lmata
|
46 |
} |
|
f7eb47b…
|
lmata
|
47 |
function isWorkerProcess() { |
|
f7eb47b…
|
lmata
|
48 |
return _isWorkerProcess; |
|
f7eb47b…
|
lmata
|
49 |
} |
|
f7eb47b…
|
lmata
|
50 |
// Annotate the CommonJS export names for ESM import in node: |
|
f7eb47b…
|
lmata
|
51 |
0 && (module.exports = { |
|
f7eb47b…
|
lmata
|
52 |
currentTestInfo, |
|
f7eb47b…
|
lmata
|
53 |
currentlyLoadingFileSuite, |
|
f7eb47b…
|
lmata
|
54 |
isWorkerProcess, |
|
f7eb47b…
|
lmata
|
55 |
setCurrentTestInfo, |
|
f7eb47b…
|
lmata
|
56 |
setCurrentlyLoadingFileSuite, |
|
f7eb47b…
|
lmata
|
57 |
setIsWorkerProcess |
|
f7eb47b…
|
lmata
|
58 |
}); |