vitest 0.34.2 → 0.34.3
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/browser.d.ts +3 -3
- package/dist/browser.js +1 -1
- package/dist/child.js +2 -2
- package/dist/{chunk-api-setup.cc5282f7.js → chunk-api-setup.3b016b1c.js} +1 -1
- package/dist/{chunk-install-pkg.7e19b3a0.js → chunk-install-pkg.a036014e.js} +4 -3
- package/dist/{chunk-integrations-globals.522ae1ae.js → chunk-integrations-globals.7f4b17bf.js} +3 -3
- package/dist/cli.js +9 -8
- package/dist/config.cjs +3 -1
- package/dist/config.d.ts +3 -3
- package/dist/config.js +3 -1
- package/dist/coverage.d.ts +3 -3
- package/dist/entry-vm.js +3 -3
- package/dist/entry.js +3 -3
- package/dist/environments.d.ts +3 -3
- package/dist/environments.js +1 -1
- package/dist/execute.d.ts +3 -3
- package/dist/execute.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -4
- package/dist/loader.js +1 -1
- package/dist/node.d.ts +4 -4
- package/dist/node.js +4 -3
- package/dist/{types-63abf2e0.d.ts → reporters-2ff87305.d.ts} +10 -4
- package/dist/reporters.d.ts +16 -0
- package/dist/reporters.js +16 -0
- package/dist/runners.d.ts +3 -3
- package/dist/runners.js +2 -2
- package/dist/{vendor-environments.37f266a9.js → vendor-environments.8eb4d407.js} +15 -4
- package/dist/{vendor-execute.4fc8203a.js → vendor-execute.a63e187f.js} +8 -6
- package/dist/{vendor-index.087d1af7.js → vendor-index.29282562.js} +1 -1
- package/dist/{vendor-index.b5efbd68.js → vendor-index.7178e7a2.js} +1 -1
- package/dist/{vendor-node.7b1bd3c5.js → vendor-node.5ce5f335.js} +87 -2615
- package/dist/vendor-reporters.f6975b8d.js +2584 -0
- package/dist/{vendor-vi.f8055ff2.js → vendor-vi.597d9e06.js} +1 -1
- package/dist/vm.js +2 -2
- package/dist/worker.js +2 -2
- package/package.json +11 -7
- package/reporters.d.ts +1 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getCurrentSuite, getCurrentTest } from '@vitest/runner';
|
|
2
2
|
import { createChainable, getNames } from '@vitest/runner/utils';
|
|
3
3
|
import { getSafeTimers, noop, assertTypes, createSimpleStackTrace } from '@vitest/utils';
|
|
4
|
-
import { i as isRunningInBenchmark } from './vendor-index.
|
|
4
|
+
import { i as isRunningInBenchmark } from './vendor-index.29282562.js';
|
|
5
5
|
import * as chai$1 from 'chai';
|
|
6
6
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './vendor-_commonjsHelpers.7d1333e8.js';
|
|
7
7
|
import { equals, iterableEquality, subsetEquality, JestExtend, JestChaiExpect, JestAsymmetricMatchers, GLOBAL_EXPECT as GLOBAL_EXPECT$1, getState, setState } from '@vitest/expect';
|
package/dist/vm.js
CHANGED
|
@@ -7,8 +7,8 @@ import { c as createBirpc } from './vendor-index.b271ebe4.js';
|
|
|
7
7
|
import { resolve } from 'pathe';
|
|
8
8
|
import { installSourcemapsSupport } from 'vite-node/source-map';
|
|
9
9
|
import { d as distDir } from './vendor-paths.84fc7a99.js';
|
|
10
|
-
import { l as loadEnvironment } from './vendor-environments.
|
|
11
|
-
import { b as startVitestExecutor } from './vendor-execute.
|
|
10
|
+
import { l as loadEnvironment } from './vendor-environments.8eb4d407.js';
|
|
11
|
+
import { b as startVitestExecutor } from './vendor-execute.a63e187f.js';
|
|
12
12
|
import { createCustomConsole } from './chunk-runtime-console.ea222ffb.js';
|
|
13
13
|
import { c as createSafeRpc } from './vendor-rpc.cbd8e972.js';
|
|
14
14
|
import './vendor-index.0b5b3600.js';
|
package/dist/worker.js
CHANGED
|
@@ -2,8 +2,8 @@ import { performance } from 'node:perf_hooks';
|
|
|
2
2
|
import { c as createBirpc } from './vendor-index.b271ebe4.js';
|
|
3
3
|
import { workerId } from 'tinypool';
|
|
4
4
|
import { g as getWorkerState } from './vendor-global.97e4527c.js';
|
|
5
|
-
import { l as loadEnvironment } from './vendor-environments.
|
|
6
|
-
import { s as startViteNode, m as moduleCache, a as mockMap } from './vendor-execute.
|
|
5
|
+
import { l as loadEnvironment } from './vendor-environments.8eb4d407.js';
|
|
6
|
+
import { s as startViteNode, m as moduleCache, a as mockMap } from './vendor-execute.a63e187f.js';
|
|
7
7
|
import { s as setupInspect } from './vendor-inspector.47fc8cbb.js';
|
|
8
8
|
import { r as rpcDone, c as createSafeRpc } from './vendor-rpc.cbd8e972.js';
|
|
9
9
|
import 'node:url';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitest",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.34.
|
|
4
|
+
"version": "0.34.3",
|
|
5
5
|
"description": "A blazing fast unit test framework powered by Vite",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -77,6 +77,10 @@
|
|
|
77
77
|
"./coverage": {
|
|
78
78
|
"types": "./coverage.d.ts",
|
|
79
79
|
"import": "./dist/coverage.js"
|
|
80
|
+
},
|
|
81
|
+
"./reporters": {
|
|
82
|
+
"types": "./dist/reporters.d.ts",
|
|
83
|
+
"import": "./dist/reporters.js"
|
|
80
84
|
}
|
|
81
85
|
},
|
|
82
86
|
"main": "./dist/index.js",
|
|
@@ -151,12 +155,12 @@
|
|
|
151
155
|
"tinypool": "^0.7.0",
|
|
152
156
|
"vite": "^3.0.0 || ^4.0.0",
|
|
153
157
|
"why-is-node-running": "^2.2.2",
|
|
154
|
-
"@vitest/runner": "0.34.
|
|
155
|
-
"@vitest/utils": "0.34.
|
|
156
|
-
"vite-node": "0.34.
|
|
157
|
-
"@vitest/expect": "0.34.
|
|
158
|
-
"@vitest/
|
|
159
|
-
"@vitest/
|
|
158
|
+
"@vitest/runner": "0.34.3",
|
|
159
|
+
"@vitest/utils": "0.34.3",
|
|
160
|
+
"vite-node": "0.34.3",
|
|
161
|
+
"@vitest/expect": "0.34.3",
|
|
162
|
+
"@vitest/snapshot": "0.34.3",
|
|
163
|
+
"@vitest/spy": "0.34.3"
|
|
160
164
|
},
|
|
161
165
|
"devDependencies": {
|
|
162
166
|
"@ampproject/remapping": "^2.2.1",
|
package/reporters.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dist/reporters.js'
|