@flemist/test-variants 1.0.6 → 1.0.7
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/bundle/browser.js
CHANGED
|
@@ -295,8 +295,8 @@ switch(o.label){case 0:t=function(){var t,o,l
|
|
|
295
295
|
case 0:
|
|
296
296
|
return t=C,o=K?e({},O):O,l=(b||_)&&Date.now(),b&&l-U>=b&&(console.log(C),
|
|
297
297
|
U=l),a&&C-Q>=a||f&&D-B>=f||_&&l-W>=_?(Q=C,
|
|
298
|
-
B=D,W=l,[4,s(1)]):[3,2];case 1:
|
|
299
|
-
|
|
298
|
+
B=D,W=l,[4,s(1)]):[3,2];case 1:c.sent(),c.label=2
|
|
299
|
+
;case 2:
|
|
300
300
|
return(null==j?void 0:j.aborted)?[2,"continue"]:K&&!S.aborted?[3,4]:[4,V(t,o,j)]
|
|
301
301
|
;case 3:return c.sent(),[3,7];case 4:
|
|
302
302
|
return K.hold(1)?[3,6]:[4,K.holdWait(1)];case 5:
|
|
@@ -159,7 +159,6 @@ function createTestVariants(test) {
|
|
|
159
159
|
prevGC_IterationsAsync = iterationsAsync;
|
|
160
160
|
prevGC_Time = now;
|
|
161
161
|
yield garbageCollect_garbageCollect.garbageCollect(1);
|
|
162
|
-
continue;
|
|
163
162
|
}
|
|
164
163
|
if (abortSignalExternal === null || abortSignalExternal === void 0 ? void 0 : abortSignalExternal.aborted) {
|
|
165
164
|
continue;
|
|
@@ -155,7 +155,6 @@ function createTestVariants(test) {
|
|
|
155
155
|
prevGC_IterationsAsync = iterationsAsync;
|
|
156
156
|
prevGC_Time = now;
|
|
157
157
|
yield garbageCollect(1);
|
|
158
|
-
continue;
|
|
159
158
|
}
|
|
160
159
|
if (abortSignalExternal === null || abortSignalExternal === void 0 ? void 0 : abortSignalExternal.aborted) {
|
|
161
160
|
continue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flemist/test-variants",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "Runs a test function with all possible combinations of its parameters.",
|
|
5
5
|
"main": "dist/lib/index.cjs",
|
|
6
6
|
"module": "dist/lib/index.mjs",
|
|
@@ -32,6 +32,23 @@
|
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
|
+
"scripts": {
|
|
36
|
+
"_prepublishOnly": "pnpm run audit && pnpm run lint && pnpm run build && pnpm run test:mocha:ci && pnpm run test:karma",
|
|
37
|
+
"audit": "pnpm audit --prod",
|
|
38
|
+
"lint": "eslint ./**/*.{js,cjs,mjs,ts,tsx}",
|
|
39
|
+
"lint:fix": "eslint --fix ./**/*.{js,cjs,mjs,ts,tsx}",
|
|
40
|
+
"lint:wizard": "eslint-nibble --cache --multi ./**/*.{js,cjs,mjs,ts,tsx}",
|
|
41
|
+
"build:js": "rimraf dist/lib && cpy \"**/assets/**\" \"**/*.{js,cjs,mjs}\" \"../dist/lib/\" --parents --cwd=src && rollup -c",
|
|
42
|
+
"build": "rimraf dist && pnpm run build:js",
|
|
43
|
+
"coverage:merge": "rimraf tmp/coverage/{all,merge} && cp-flat \"tmp/coverage/*/json/**/*.json\" \"tmp/coverage/merge\" && nyc report -r lcov --report-dir tmp/coverage/all/lcov --temp-dir \"tmp/coverage/merge/\"",
|
|
44
|
+
"coverage:check": "pnpm run coverage:merge && nyc check-coverage --report-dir tmp/coverage/all/lcov --lines 50 --functions 50 --branches 50 --statements 50",
|
|
45
|
+
"test:mocha": "mocha ./src/**/*.test.*",
|
|
46
|
+
"test:mocha:coverage": "rimraf tmp/coverage/mocha && nyc --all mocha ./src/**/*.test.*",
|
|
47
|
+
"test:mocha:watch": "mocha --watch ./src/**/*.test.*",
|
|
48
|
+
"test:karma": "rimraf tmp/coverage/karma && karma start --single-run --log-level debug",
|
|
49
|
+
"test:mocha:ci": "rimraf tmp/coverage/mocha && nyc --all mocha ./{src,dist/lib}/**/*.test.*",
|
|
50
|
+
"coveralls": "pnpm run coverage:check && nyc report --reporter=text-lcov --temp-dir \"tmp/coverage/merge/\" | coveralls"
|
|
51
|
+
},
|
|
35
52
|
"devDependencies": {
|
|
36
53
|
"@babel/core": "7.18.5",
|
|
37
54
|
"@babel/plugin-syntax-dynamic-import": "7.8.3",
|
|
@@ -85,21 +102,5 @@
|
|
|
85
102
|
"@flemist/async-utils": "^1.0.0",
|
|
86
103
|
"@flemist/time-limits": "^1.0.1",
|
|
87
104
|
"tslib": "^2.4.0"
|
|
88
|
-
},
|
|
89
|
-
"scripts": {
|
|
90
|
-
"audit": "pnpm audit --prod",
|
|
91
|
-
"lint": "eslint ./**/*.{js,cjs,mjs,ts,tsx}",
|
|
92
|
-
"lint:fix": "eslint --fix ./**/*.{js,cjs,mjs,ts,tsx}",
|
|
93
|
-
"lint:wizard": "eslint-nibble --cache --multi ./**/*.{js,cjs,mjs,ts,tsx}",
|
|
94
|
-
"build:js": "rimraf dist/lib && cpy \"**/assets/**\" \"**/*.{js,cjs,mjs}\" \"../dist/lib/\" --parents --cwd=src && rollup -c",
|
|
95
|
-
"build": "rimraf dist && pnpm run build:js",
|
|
96
|
-
"coverage:merge": "rimraf tmp/coverage/{all,merge} && cp-flat \"tmp/coverage/*/json/**/*.json\" \"tmp/coverage/merge\" && nyc report -r lcov --report-dir tmp/coverage/all/lcov --temp-dir \"tmp/coverage/merge/\"",
|
|
97
|
-
"coverage:check": "pnpm run coverage:merge && nyc check-coverage --report-dir tmp/coverage/all/lcov --lines 50 --functions 50 --branches 50 --statements 50",
|
|
98
|
-
"test:mocha": "mocha ./src/**/*.test.*",
|
|
99
|
-
"test:mocha:coverage": "rimraf tmp/coverage/mocha && nyc --all mocha ./src/**/*.test.*",
|
|
100
|
-
"test:mocha:watch": "mocha --watch ./src/**/*.test.*",
|
|
101
|
-
"test:karma": "rimraf tmp/coverage/karma && karma start --single-run --log-level debug",
|
|
102
|
-
"test:mocha:ci": "rimraf tmp/coverage/mocha && nyc --all mocha ./{src,dist/lib}/**/*.test.*",
|
|
103
|
-
"coveralls": "pnpm run coverage:check && nyc report --reporter=text-lcov --temp-dir \"tmp/coverage/merge/\" | coveralls"
|
|
104
105
|
}
|
|
105
|
-
}
|
|
106
|
+
}
|