@vitest/runner 4.0.0-beta.7 → 4.0.0-beta.8
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/chunk-hooks.js +1 -7
- package/dist/utils.d.ts +1 -5
- package/dist/utils.js +1 -1
- package/package.json +2 -2
package/dist/chunk-hooks.js
CHANGED
|
@@ -628,12 +628,6 @@ function partitionSuiteChildren(suite) {
|
|
|
628
628
|
return tasksGroups;
|
|
629
629
|
}
|
|
630
630
|
|
|
631
|
-
/**
|
|
632
|
-
* @deprecated use `isTestCase` instead
|
|
633
|
-
*/
|
|
634
|
-
function isAtomTest(s) {
|
|
635
|
-
return isTestCase(s);
|
|
636
|
-
}
|
|
637
631
|
function isTestCase(s) {
|
|
638
632
|
return s.type === "test";
|
|
639
633
|
}
|
|
@@ -2256,4 +2250,4 @@ function createTestHook(name, handler) {
|
|
|
2256
2250
|
};
|
|
2257
2251
|
}
|
|
2258
2252
|
|
|
2259
|
-
export { interpretTaskModes as A, someTasksAreOnly as B, limitConcurrency as C, partitionSuiteChildren as D, getFullName as E, getNames as F, getSuites as G, getTasks as H, getTestName as I, getTests as J, hasFailed as K, hasTests as L,
|
|
2253
|
+
export { interpretTaskModes as A, someTasksAreOnly as B, limitConcurrency as C, partitionSuiteChildren as D, getFullName as E, getNames as F, getSuites as G, getTasks as H, getTestName as I, getTests as J, hasFailed as K, hasTests as L, isTestCase as M, afterAll as a, afterEach as b, beforeAll as c, beforeEach as d, onTestFinished as e, getHooks as f, getFn as g, setHooks as h, startTests as i, createTaskCollector as j, describe as k, getCurrentSuite as l, it as m, suite as n, onTestFailed as o, publicCollect as p, getCurrentTest as q, createChainable as r, setFn as s, test as t, updateTask as u, calculateSuiteHash as v, createFileTask as w, findTestFileStackTrace as x, generateFileHash as y, generateHash as z };
|
package/dist/utils.d.ts
CHANGED
|
@@ -31,10 +31,6 @@ declare function limitConcurrency(concurrency?: number): <
|
|
|
31
31
|
*/
|
|
32
32
|
declare function partitionSuiteChildren(suite: Suite): Task[][];
|
|
33
33
|
|
|
34
|
-
/**
|
|
35
|
-
* @deprecated use `isTestCase` instead
|
|
36
|
-
*/
|
|
37
|
-
declare function isAtomTest(s: Task): s is Test;
|
|
38
34
|
declare function isTestCase(s: Task): s is Test;
|
|
39
35
|
declare function getTests(suite: Arrayable<Task>): Test[];
|
|
40
36
|
declare function getTasks(tasks?: Arrayable<Task>): Task[];
|
|
@@ -45,4 +41,4 @@ declare function getNames(task: Task): string[];
|
|
|
45
41
|
declare function getFullName(task: Task, separator?: string): string;
|
|
46
42
|
declare function getTestName(task: Task, separator?: string): string;
|
|
47
43
|
|
|
48
|
-
export { calculateSuiteHash, createFileTask, findTestFileStackTrace, generateFileHash, generateHash, getFullName, getNames, getSuites, getTasks, getTestName, getTests, hasFailed, hasTests, interpretTaskModes,
|
|
44
|
+
export { calculateSuiteHash, createFileTask, findTestFileStackTrace, generateFileHash, generateHash, getFullName, getNames, getSuites, getTasks, getTestName, getTests, hasFailed, hasTests, interpretTaskModes, isTestCase, limitConcurrency, partitionSuiteChildren, someTasksAreOnly };
|
package/dist/utils.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { v as calculateSuiteHash, r as createChainable, w as createFileTask, x as findTestFileStackTrace, y as generateFileHash, z as generateHash, E as getFullName, F as getNames, G as getSuites, H as getTasks, I as getTestName, J as getTests, K as hasFailed, L as hasTests, A as interpretTaskModes, M as
|
|
1
|
+
export { v as calculateSuiteHash, r as createChainable, w as createFileTask, x as findTestFileStackTrace, y as generateFileHash, z as generateHash, E as getFullName, F as getNames, G as getSuites, H as getTasks, I as getTestName, J as getTests, K as hasFailed, L as hasTests, A as interpretTaskModes, M as isTestCase, C as limitConcurrency, D as partitionSuiteChildren, B as someTasksAreOnly } from './chunk-hooks.js';
|
|
2
2
|
import '@vitest/utils';
|
|
3
3
|
import '@vitest/utils/error';
|
|
4
4
|
import 'strip-literal';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitest/runner",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.0.0-beta.
|
|
4
|
+
"version": "4.0.0-beta.8",
|
|
5
5
|
"description": "Vitest test runner",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"funding": "https://opencollective.com/vitest",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"pathe": "^2.0.3",
|
|
42
42
|
"strip-literal": "^3.0.0",
|
|
43
|
-
"@vitest/utils": "4.0.0-beta.
|
|
43
|
+
"@vitest/utils": "4.0.0-beta.8"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"build": "rimraf dist && rollup -c",
|