vitest 0.0.98 → 0.0.99
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/LICENSE.md +2003 -0
- package/dist/_commonjsHelpers-bdec4bbd.js +7 -0
- package/dist/cli.js +13 -19
- package/dist/{constants-e78c749a.js → constants-3cbd9066.js} +1 -1
- package/dist/entry.js +106 -15
- package/dist/error-34c1d9e5.js +4739 -0
- package/dist/global-0be1f687.js +19 -0
- package/dist/{index-e7a421bb.js → index-0c3a317d.js} +2 -1
- package/dist/{index-5cc247ff.js → index-825cb54c.js} +2 -3
- package/dist/index-aa25bceb.js +11166 -0
- package/dist/{index-368448f4.js → index-af51d171.js} +1 -2
- package/dist/{index-0697046c.js → index-d5bb350e.js} +2578 -115
- package/dist/index.d.ts +23 -110
- package/dist/index.js +7 -3
- package/dist/{middleware-8b68d8d7.js → middleware-991dfa87.js} +4 -2
- package/dist/node.js +11 -11
- package/dist/{utils-70b78878.js → utils-b780070b.js} +186 -2
- package/dist/utils.js +2 -1
- package/dist/worker.js +2 -3
- package/package.json +14 -13
- package/{bin/vitest.mjs → vitest.mjs} +3 -4
- package/LICENSE +0 -22
- package/dist/error-2437ee7f.js +0 -1416
- package/dist/global-97ee5fb8.js +0 -17
- package/dist/index-1488b423.js +0 -186
- package/dist/suite-b8c6cb53.js +0 -236
package/dist/global-97ee5fb8.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { g as globalApis } from './constants-e78c749a.js';
|
|
2
|
-
import { i as index } from './index-368448f4.js';
|
|
3
|
-
import 'url';
|
|
4
|
-
import './index-1488b423.js';
|
|
5
|
-
import 'path';
|
|
6
|
-
import './suite-b8c6cb53.js';
|
|
7
|
-
import './index-9e71c815.js';
|
|
8
|
-
import 'chai';
|
|
9
|
-
import 'tinyspy';
|
|
10
|
-
|
|
11
|
-
function registerApiGlobally() {
|
|
12
|
-
globalApis.forEach((api) => {
|
|
13
|
-
globalThis[api] = index[api];
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export { registerApiGlobally };
|
package/dist/index-1488b423.js
DELETED
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
import path from 'path';
|
|
2
|
-
|
|
3
|
-
function normalizeWindowsPath(input = "") {
|
|
4
|
-
if (!input.includes("\\")) {
|
|
5
|
-
return input;
|
|
6
|
-
}
|
|
7
|
-
return input.replace(/\\/g, "/");
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
const _UNC_REGEX = /^[/][/]/;
|
|
11
|
-
const _UNC_DRIVE_REGEX = /^[/][/]([.]{1,2}[/])?([a-zA-Z]):[/]/;
|
|
12
|
-
const _IS_ABSOLUTE_RE = /^\/|^\\|^[a-zA-Z]:[/\\]/;
|
|
13
|
-
const sep = "/";
|
|
14
|
-
const delimiter = ":";
|
|
15
|
-
const normalize = function(path2) {
|
|
16
|
-
if (path2.length === 0) {
|
|
17
|
-
return ".";
|
|
18
|
-
}
|
|
19
|
-
path2 = normalizeWindowsPath(path2);
|
|
20
|
-
const isUNCPath = path2.match(_UNC_REGEX);
|
|
21
|
-
const hasUNCDrive = isUNCPath && path2.match(_UNC_DRIVE_REGEX);
|
|
22
|
-
const isPathAbsolute = isAbsolute(path2);
|
|
23
|
-
const trailingSeparator = path2[path2.length - 1] === "/";
|
|
24
|
-
path2 = normalizeString(path2, !isPathAbsolute);
|
|
25
|
-
if (path2.length === 0) {
|
|
26
|
-
if (isPathAbsolute) {
|
|
27
|
-
return "/";
|
|
28
|
-
}
|
|
29
|
-
return trailingSeparator ? "./" : ".";
|
|
30
|
-
}
|
|
31
|
-
if (trailingSeparator) {
|
|
32
|
-
path2 += "/";
|
|
33
|
-
}
|
|
34
|
-
if (isUNCPath) {
|
|
35
|
-
if (hasUNCDrive) {
|
|
36
|
-
return `//./${path2}`;
|
|
37
|
-
}
|
|
38
|
-
return `//${path2}`;
|
|
39
|
-
}
|
|
40
|
-
return isPathAbsolute && !isAbsolute(path2) ? `/${path2}` : path2;
|
|
41
|
-
};
|
|
42
|
-
const join = function(...args) {
|
|
43
|
-
if (args.length === 0) {
|
|
44
|
-
return ".";
|
|
45
|
-
}
|
|
46
|
-
let joined;
|
|
47
|
-
for (let i = 0; i < args.length; ++i) {
|
|
48
|
-
const arg = args[i];
|
|
49
|
-
if (arg.length > 0) {
|
|
50
|
-
if (joined === void 0) {
|
|
51
|
-
joined = arg;
|
|
52
|
-
} else {
|
|
53
|
-
joined += `/${arg}`;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
if (joined === void 0) {
|
|
58
|
-
return ".";
|
|
59
|
-
}
|
|
60
|
-
return normalize(joined);
|
|
61
|
-
};
|
|
62
|
-
const resolve = function(...args) {
|
|
63
|
-
args = args.map((arg) => normalizeWindowsPath(arg));
|
|
64
|
-
let resolvedPath = "";
|
|
65
|
-
let resolvedAbsolute = false;
|
|
66
|
-
for (let i = args.length - 1; i >= -1 && !resolvedAbsolute; i--) {
|
|
67
|
-
const path2 = i >= 0 ? args[i] : process.cwd();
|
|
68
|
-
if (path2.length === 0) {
|
|
69
|
-
continue;
|
|
70
|
-
}
|
|
71
|
-
resolvedPath = `${path2}/${resolvedPath}`;
|
|
72
|
-
resolvedAbsolute = isAbsolute(path2);
|
|
73
|
-
}
|
|
74
|
-
resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute);
|
|
75
|
-
if (resolvedAbsolute && !isAbsolute(resolvedPath)) {
|
|
76
|
-
return `/${resolvedPath}`;
|
|
77
|
-
}
|
|
78
|
-
return resolvedPath.length > 0 ? resolvedPath : ".";
|
|
79
|
-
};
|
|
80
|
-
function normalizeString(path2, allowAboveRoot) {
|
|
81
|
-
let res = "";
|
|
82
|
-
let lastSegmentLength = 0;
|
|
83
|
-
let lastSlash = -1;
|
|
84
|
-
let dots = 0;
|
|
85
|
-
let char = null;
|
|
86
|
-
for (let i = 0; i <= path2.length; ++i) {
|
|
87
|
-
if (i < path2.length) {
|
|
88
|
-
char = path2[i];
|
|
89
|
-
} else if (char === "/") {
|
|
90
|
-
break;
|
|
91
|
-
} else {
|
|
92
|
-
char = "/";
|
|
93
|
-
}
|
|
94
|
-
if (char === "/") {
|
|
95
|
-
if (lastSlash === i - 1 || dots === 1) ; else if (dots === 2) {
|
|
96
|
-
if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") {
|
|
97
|
-
if (res.length > 2) {
|
|
98
|
-
const lastSlashIndex = res.lastIndexOf("/");
|
|
99
|
-
if (lastSlashIndex === -1) {
|
|
100
|
-
res = "";
|
|
101
|
-
lastSegmentLength = 0;
|
|
102
|
-
} else {
|
|
103
|
-
res = res.slice(0, lastSlashIndex);
|
|
104
|
-
lastSegmentLength = res.length - 1 - res.lastIndexOf("/");
|
|
105
|
-
}
|
|
106
|
-
lastSlash = i;
|
|
107
|
-
dots = 0;
|
|
108
|
-
continue;
|
|
109
|
-
} else if (res.length !== 0) {
|
|
110
|
-
res = "";
|
|
111
|
-
lastSegmentLength = 0;
|
|
112
|
-
lastSlash = i;
|
|
113
|
-
dots = 0;
|
|
114
|
-
continue;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
if (allowAboveRoot) {
|
|
118
|
-
res += res.length > 0 ? "/.." : "..";
|
|
119
|
-
lastSegmentLength = 2;
|
|
120
|
-
}
|
|
121
|
-
} else {
|
|
122
|
-
if (res.length > 0) {
|
|
123
|
-
res += `/${path2.slice(lastSlash + 1, i)}`;
|
|
124
|
-
} else {
|
|
125
|
-
res = path2.slice(lastSlash + 1, i);
|
|
126
|
-
}
|
|
127
|
-
lastSegmentLength = i - lastSlash - 1;
|
|
128
|
-
}
|
|
129
|
-
lastSlash = i;
|
|
130
|
-
dots = 0;
|
|
131
|
-
} else if (char === "." && dots !== -1) {
|
|
132
|
-
++dots;
|
|
133
|
-
} else {
|
|
134
|
-
dots = -1;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
return res;
|
|
138
|
-
}
|
|
139
|
-
const isAbsolute = function(p) {
|
|
140
|
-
return _IS_ABSOLUTE_RE.test(p);
|
|
141
|
-
};
|
|
142
|
-
const toNamespacedPath = function(p) {
|
|
143
|
-
return normalizeWindowsPath(p);
|
|
144
|
-
};
|
|
145
|
-
const extname = function(p) {
|
|
146
|
-
return path.posix.extname(normalizeWindowsPath(p));
|
|
147
|
-
};
|
|
148
|
-
const relative = function(from, to) {
|
|
149
|
-
return path.posix.relative(normalizeWindowsPath(from), normalizeWindowsPath(to));
|
|
150
|
-
};
|
|
151
|
-
const dirname = function(p) {
|
|
152
|
-
return path.posix.dirname(normalizeWindowsPath(p));
|
|
153
|
-
};
|
|
154
|
-
const format = function(p) {
|
|
155
|
-
return normalizeWindowsPath(path.posix.format(p));
|
|
156
|
-
};
|
|
157
|
-
const basename = function(p, ext) {
|
|
158
|
-
return path.posix.basename(normalizeWindowsPath(p), ext);
|
|
159
|
-
};
|
|
160
|
-
const parse = function(p) {
|
|
161
|
-
return path.posix.parse(normalizeWindowsPath(p));
|
|
162
|
-
};
|
|
163
|
-
|
|
164
|
-
const _path = /*#__PURE__*/Object.freeze({
|
|
165
|
-
__proto__: null,
|
|
166
|
-
sep: sep,
|
|
167
|
-
delimiter: delimiter,
|
|
168
|
-
normalize: normalize,
|
|
169
|
-
join: join,
|
|
170
|
-
resolve: resolve,
|
|
171
|
-
normalizeString: normalizeString,
|
|
172
|
-
isAbsolute: isAbsolute,
|
|
173
|
-
toNamespacedPath: toNamespacedPath,
|
|
174
|
-
extname: extname,
|
|
175
|
-
relative: relative,
|
|
176
|
-
dirname: dirname,
|
|
177
|
-
format: format,
|
|
178
|
-
basename: basename,
|
|
179
|
-
parse: parse
|
|
180
|
-
});
|
|
181
|
-
|
|
182
|
-
const index = {
|
|
183
|
-
..._path
|
|
184
|
-
};
|
|
185
|
-
|
|
186
|
-
export { resolve as a, basename as b, index as c, dirname as d, isAbsolute as i, relative as r };
|
package/dist/suite-b8c6cb53.js
DELETED
|
@@ -1,236 +0,0 @@
|
|
|
1
|
-
import { n as nanoid } from './index-9e71c815.js';
|
|
2
|
-
|
|
3
|
-
const context = {
|
|
4
|
-
tasks: [],
|
|
5
|
-
currentSuite: null
|
|
6
|
-
};
|
|
7
|
-
function collectTask(task) {
|
|
8
|
-
var _a;
|
|
9
|
-
(_a = context.currentSuite) == null ? void 0 : _a.tasks.push(task);
|
|
10
|
-
}
|
|
11
|
-
async function runWithSuite(suite, fn) {
|
|
12
|
-
const prev = context.currentSuite;
|
|
13
|
-
context.currentSuite = suite;
|
|
14
|
-
await fn();
|
|
15
|
-
context.currentSuite = prev;
|
|
16
|
-
}
|
|
17
|
-
function getDefaultTestTimeout() {
|
|
18
|
-
var _a, _b;
|
|
19
|
-
return ((_b = (_a = process.__vitest_worker__) == null ? void 0 : _a.config) == null ? void 0 : _b.testTimeout) ?? 5e3;
|
|
20
|
-
}
|
|
21
|
-
function getDefaultHookTimeout() {
|
|
22
|
-
var _a, _b;
|
|
23
|
-
return ((_b = (_a = process.__vitest_worker__) == null ? void 0 : _a.config) == null ? void 0 : _b.hookTimeout) ?? 5e3;
|
|
24
|
-
}
|
|
25
|
-
function withTimeout(fn, _timeout) {
|
|
26
|
-
const timeout = _timeout ?? getDefaultTestTimeout();
|
|
27
|
-
if (timeout <= 0 || timeout === Infinity)
|
|
28
|
-
return fn;
|
|
29
|
-
return (...args) => {
|
|
30
|
-
return Promise.race([fn(...args), new Promise((resolve, reject) => {
|
|
31
|
-
const timer = setTimeout(() => {
|
|
32
|
-
clearTimeout(timer);
|
|
33
|
-
reject(new Error(`Test timed out in ${timeout}ms.`));
|
|
34
|
-
}, timeout);
|
|
35
|
-
timer.unref();
|
|
36
|
-
})]);
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ensureAsyncTest(fn) {
|
|
40
|
-
if (!fn.length)
|
|
41
|
-
return fn;
|
|
42
|
-
return () => new Promise((resolve, reject) => {
|
|
43
|
-
const done = (...args) => args[0] ? reject(args[0]) : resolve();
|
|
44
|
-
fn(done);
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
function normalizeTest(fn, timeout) {
|
|
48
|
-
return withTimeout(ensureAsyncTest(fn), timeout);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
const fnMap = /* @__PURE__ */ new WeakMap();
|
|
52
|
-
const hooksMap = /* @__PURE__ */ new WeakMap();
|
|
53
|
-
function setFn(key, fn) {
|
|
54
|
-
fnMap.set(key, fn);
|
|
55
|
-
}
|
|
56
|
-
function getFn(key) {
|
|
57
|
-
return fnMap.get(key);
|
|
58
|
-
}
|
|
59
|
-
function setHooks(key, hooks) {
|
|
60
|
-
hooksMap.set(key, hooks);
|
|
61
|
-
}
|
|
62
|
-
function getHooks(key) {
|
|
63
|
-
return hooksMap.get(key);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
const suite = createSuite();
|
|
67
|
-
const defaultSuite = suite("");
|
|
68
|
-
function clearContext() {
|
|
69
|
-
context.tasks.length = 0;
|
|
70
|
-
defaultSuite.clear();
|
|
71
|
-
context.currentSuite = defaultSuite;
|
|
72
|
-
}
|
|
73
|
-
function getCurrentSuite() {
|
|
74
|
-
return context.currentSuite || defaultSuite;
|
|
75
|
-
}
|
|
76
|
-
function createSuiteHooks() {
|
|
77
|
-
return {
|
|
78
|
-
beforeAll: [],
|
|
79
|
-
afterAll: [],
|
|
80
|
-
beforeEach: [],
|
|
81
|
-
afterEach: []
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
function createSuiteCollector(name, factory = () => {
|
|
85
|
-
}, mode, suiteComputeMode) {
|
|
86
|
-
const tasks = [];
|
|
87
|
-
const factoryQueue = [];
|
|
88
|
-
let suite2;
|
|
89
|
-
initSuite();
|
|
90
|
-
const test2 = createTestCollector((name2, fn, mode2, computeMode) => {
|
|
91
|
-
const test3 = {
|
|
92
|
-
id: nanoid(),
|
|
93
|
-
type: "test",
|
|
94
|
-
name: name2,
|
|
95
|
-
mode: mode2,
|
|
96
|
-
computeMode: computeMode ?? (suiteComputeMode ?? "serial"),
|
|
97
|
-
suite: void 0
|
|
98
|
-
};
|
|
99
|
-
setFn(test3, fn);
|
|
100
|
-
tasks.push(test3);
|
|
101
|
-
});
|
|
102
|
-
const collector = {
|
|
103
|
-
type: "collector",
|
|
104
|
-
name,
|
|
105
|
-
mode,
|
|
106
|
-
test: test2,
|
|
107
|
-
tasks,
|
|
108
|
-
collect,
|
|
109
|
-
clear,
|
|
110
|
-
on: addHook
|
|
111
|
-
};
|
|
112
|
-
function addHook(name2, ...fn) {
|
|
113
|
-
getHooks(suite2)[name2].push(...fn);
|
|
114
|
-
}
|
|
115
|
-
function initSuite() {
|
|
116
|
-
suite2 = {
|
|
117
|
-
id: nanoid(),
|
|
118
|
-
type: "suite",
|
|
119
|
-
computeMode: "serial",
|
|
120
|
-
name,
|
|
121
|
-
mode,
|
|
122
|
-
tasks: []
|
|
123
|
-
};
|
|
124
|
-
setHooks(suite2, createSuiteHooks());
|
|
125
|
-
}
|
|
126
|
-
function clear() {
|
|
127
|
-
tasks.length = 0;
|
|
128
|
-
factoryQueue.length = 0;
|
|
129
|
-
initSuite();
|
|
130
|
-
}
|
|
131
|
-
async function collect(file) {
|
|
132
|
-
factoryQueue.length = 0;
|
|
133
|
-
if (factory)
|
|
134
|
-
await runWithSuite(collector, () => factory(test2));
|
|
135
|
-
const allChildren = await Promise.all([...factoryQueue, ...tasks].map((i) => i.type === "collector" ? i.collect(file) : i));
|
|
136
|
-
suite2.file = file;
|
|
137
|
-
suite2.tasks = allChildren;
|
|
138
|
-
allChildren.forEach((task) => {
|
|
139
|
-
task.suite = suite2;
|
|
140
|
-
if (file)
|
|
141
|
-
task.file = file;
|
|
142
|
-
});
|
|
143
|
-
return suite2;
|
|
144
|
-
}
|
|
145
|
-
collectTask(collector);
|
|
146
|
-
return collector;
|
|
147
|
-
}
|
|
148
|
-
function createTestCollector(collectTest) {
|
|
149
|
-
function test2(name, fn, timeout) {
|
|
150
|
-
collectTest(name, normalizeTest(fn, timeout), "run");
|
|
151
|
-
}
|
|
152
|
-
test2.concurrent = concurrent;
|
|
153
|
-
test2.skip = skip;
|
|
154
|
-
test2.only = only;
|
|
155
|
-
test2.todo = todo;
|
|
156
|
-
function concurrent(name, fn, timeout) {
|
|
157
|
-
collectTest(name, normalizeTest(fn, timeout), "run", "concurrent");
|
|
158
|
-
}
|
|
159
|
-
concurrent.skip = (name, fn, timeout) => collectTest(name, normalizeTest(fn, timeout), "skip", "concurrent");
|
|
160
|
-
concurrent.only = (name, fn, timeout) => collectTest(name, normalizeTest(fn, timeout), "only", "concurrent");
|
|
161
|
-
concurrent.todo = todo;
|
|
162
|
-
function skip(name, fn, timeout) {
|
|
163
|
-
collectTest(name, normalizeTest(fn, timeout), "skip");
|
|
164
|
-
}
|
|
165
|
-
skip.concurrent = concurrent.skip;
|
|
166
|
-
function only(name, fn, timeout) {
|
|
167
|
-
collectTest(name, normalizeTest(fn, timeout), "only");
|
|
168
|
-
}
|
|
169
|
-
only.concurrent = concurrent.only;
|
|
170
|
-
function todo(name) {
|
|
171
|
-
collectTest(name, () => {
|
|
172
|
-
}, "todo");
|
|
173
|
-
}
|
|
174
|
-
todo.concurrent = todo;
|
|
175
|
-
return test2;
|
|
176
|
-
}
|
|
177
|
-
const test = function() {
|
|
178
|
-
function test2(name, fn, timeout) {
|
|
179
|
-
return getCurrentSuite().test(name, fn, timeout);
|
|
180
|
-
}
|
|
181
|
-
function concurrent(name, fn, timeout) {
|
|
182
|
-
return getCurrentSuite().test.concurrent(name, fn, timeout);
|
|
183
|
-
}
|
|
184
|
-
concurrent.skip = (name, fn, timeout) => getCurrentSuite().test.concurrent.skip(name, fn, timeout);
|
|
185
|
-
concurrent.only = (name, fn, timeout) => getCurrentSuite().test.concurrent.only(name, fn, timeout);
|
|
186
|
-
concurrent.todo = (name) => getCurrentSuite().test.concurrent.todo(name);
|
|
187
|
-
function skip(name, fn, timeout) {
|
|
188
|
-
return getCurrentSuite().test.skip(name, fn, timeout);
|
|
189
|
-
}
|
|
190
|
-
skip.concurrent = (name, fn, timeout) => getCurrentSuite().test.skip.concurrent(name, fn, timeout);
|
|
191
|
-
function only(name, fn, timeout) {
|
|
192
|
-
return getCurrentSuite().test.only(name, fn, timeout);
|
|
193
|
-
}
|
|
194
|
-
only.concurrent = (name, fn, timeout) => getCurrentSuite().test.only.concurrent(name, fn, timeout);
|
|
195
|
-
function todo(name) {
|
|
196
|
-
return getCurrentSuite().test.todo(name);
|
|
197
|
-
}
|
|
198
|
-
todo.concurrent = (name) => getCurrentSuite().test.todo.concurrent(name);
|
|
199
|
-
test2.concurrent = concurrent;
|
|
200
|
-
test2.skip = skip;
|
|
201
|
-
test2.only = only;
|
|
202
|
-
test2.todo = todo;
|
|
203
|
-
return test2;
|
|
204
|
-
}();
|
|
205
|
-
function createSuite() {
|
|
206
|
-
function suite2(suiteName, factory) {
|
|
207
|
-
return createSuiteCollector(suiteName, factory, "run");
|
|
208
|
-
}
|
|
209
|
-
function concurrent(suiteName, factory) {
|
|
210
|
-
return createSuiteCollector(suiteName, factory, "run", "concurrent");
|
|
211
|
-
}
|
|
212
|
-
concurrent.skip = (suiteName, factory) => createSuiteCollector(suiteName, factory, "skip", "concurrent");
|
|
213
|
-
concurrent.only = (suiteName, factory) => createSuiteCollector(suiteName, factory, "only", "concurrent");
|
|
214
|
-
concurrent.todo = (suiteName) => createSuiteCollector(suiteName, void 0, "todo");
|
|
215
|
-
function skip(suiteName, factory) {
|
|
216
|
-
return createSuiteCollector(suiteName, factory, "skip");
|
|
217
|
-
}
|
|
218
|
-
skip.concurrent = concurrent.skip;
|
|
219
|
-
function only(suiteName, factory) {
|
|
220
|
-
return createSuiteCollector(suiteName, factory, "only");
|
|
221
|
-
}
|
|
222
|
-
only.concurrent = concurrent.only;
|
|
223
|
-
function todo(suiteName) {
|
|
224
|
-
return createSuiteCollector(suiteName, void 0, "todo");
|
|
225
|
-
}
|
|
226
|
-
todo.concurrent = concurrent.todo;
|
|
227
|
-
suite2.concurrent = concurrent;
|
|
228
|
-
suite2.skip = skip;
|
|
229
|
-
suite2.only = only;
|
|
230
|
-
suite2.todo = todo;
|
|
231
|
-
return suite2;
|
|
232
|
-
}
|
|
233
|
-
const describe = suite;
|
|
234
|
-
const it = test;
|
|
235
|
-
|
|
236
|
-
export { getDefaultHookTimeout as a, setHooks as b, createSuiteHooks as c, describe as d, clearContext as e, defaultSuite as f, getCurrentSuite as g, context as h, it as i, getHooks as j, getFn as k, suite as s, test as t, withTimeout as w };
|