@forsakringskassan/vitest-config 2.2.8 → 2.3.0
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.js +7 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -5,7 +5,11 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
5
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __commonJS = (cb, mod2) => function __require() {
|
|
8
|
-
|
|
8
|
+
try {
|
|
9
|
+
return mod2 || (0, cb[__getOwnPropNames(cb)[0]])((mod2 = { exports: {} }).exports, mod2), mod2.exports;
|
|
10
|
+
} catch (e2) {
|
|
11
|
+
throw mod2 = 0, e2;
|
|
12
|
+
}
|
|
9
13
|
};
|
|
10
14
|
var __copyProps = (to, from, except, desc) => {
|
|
11
15
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
@@ -368,6 +372,8 @@ function overwriteMerge(_a, b2) {
|
|
|
368
372
|
}
|
|
369
373
|
function defineTestConfig(userConfig = {}) {
|
|
370
374
|
const defaultConfig = {
|
|
375
|
+
/* up to 10x faster on windows */
|
|
376
|
+
pool: "threads",
|
|
371
377
|
coverage: {
|
|
372
378
|
provider: mod,
|
|
373
379
|
reporter: ["text", "text-summary", "lcov"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forsakringskassan/vitest-config",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "Försäkringskassan shareable config for Vitest",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vitest"
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"node": ">= 22.12.0",
|
|
38
38
|
"npm": ">= 10.0.0"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "6eaf2368c2582676d88a3e017ed8ffd3709682cd"
|
|
41
41
|
}
|