@rstest/core 0.7.1 → 0.7.2
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 +1 -1
- package/dist/0~122.js +9 -3
- package/dist/0~151.js +303 -264
- package/dist/0~583.js +1 -1
- package/dist/0~588.js +1 -1
- package/dist/0~62.js +1 -1
- package/dist/0~634.js +3 -3
- package/dist/0~809.js +1 -1
- package/dist/0~835.js +1 -1
- package/dist/0~919.js +65 -33
- package/dist/0~923.js +1 -1
- package/dist/{155.js → 131.js} +12 -12
- package/dist/404.js +210 -0
- package/dist/{362.js → 554.js} +68 -49
- package/dist/734.js +1 -1
- package/dist/946.js +40 -30
- package/dist/index.d.ts +49 -17
- package/dist/index.js +1 -1
- package/dist/worker.d.ts +52 -23
- package/dist/worker.js +1 -1
- package/package.json +7 -6
- package/dist/770.js +0 -167
- /package/dist/{0~454.js → 0~907.js} +0 -0
- /package/dist/{362.js.LICENSE.txt → 554.js.LICENSE.txt} +0 -0
package/dist/{362.js → 554.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! For license information please see
|
|
1
|
+
/*! For license information please see 554.js.LICENSE.txt */
|
|
2
2
|
import __rslib_shim_module__ from 'module';
|
|
3
3
|
const require = /*#__PURE__*/ __rslib_shim_module__.createRequire(import.meta.url);
|
|
4
4
|
"use strict";
|
|
5
5
|
import { __webpack_require__ } from "./rslib-runtime.js";
|
|
6
6
|
import { basename, globalApis, dirname, external_node_module_createRequire, resolve as pathe_M_eThtNZ_resolve, undoSerializableConfig, isAbsolute, join } from "./946.js";
|
|
7
|
-
import { node_v8, createBirpc } from "./
|
|
7
|
+
import { node_v8, createBirpc } from "./404.js";
|
|
8
8
|
import { createCoverageProvider } from "./734.js";
|
|
9
9
|
__webpack_require__.add({
|
|
10
|
-
"../../node_modules/.pnpm/@jest+diff-sequences@30.0.1/node_modules/@jest/diff-sequences/build/index.js"
|
|
10
|
+
"../../node_modules/.pnpm/@jest+diff-sequences@30.0.1/node_modules/@jest/diff-sequences/build/index.js" (module) {
|
|
11
11
|
/*!
|
|
12
12
|
* /**
|
|
13
13
|
* * Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
@@ -324,7 +324,7 @@ __webpack_require__.add({
|
|
|
324
324
|
module.exports = __nested_webpack_exports__;
|
|
325
325
|
})();
|
|
326
326
|
},
|
|
327
|
-
"../../node_modules/.pnpm/@jest+get-type@30.1.0/node_modules/@jest/get-type/build/index.js"
|
|
327
|
+
"../../node_modules/.pnpm/@jest+get-type@30.1.0/node_modules/@jest/get-type/build/index.js" (module) {
|
|
328
328
|
/*!
|
|
329
329
|
* /**
|
|
330
330
|
* * Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
@@ -366,7 +366,7 @@ __webpack_require__.add({
|
|
|
366
366
|
module.exports = __nested_webpack_exports__;
|
|
367
367
|
})();
|
|
368
368
|
},
|
|
369
|
-
"../../node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js"
|
|
369
|
+
"../../node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js" (module, __unused_webpack_exports, __webpack_require__) {
|
|
370
370
|
module = __webpack_require__.nmd(module);
|
|
371
371
|
const wrapAnsi16 = (fn, offset)=>(...args)=>{
|
|
372
372
|
const code = fn(...args);
|
|
@@ -620,7 +620,7 @@ __webpack_require__.add({
|
|
|
620
620
|
get: assembleStyles
|
|
621
621
|
});
|
|
622
622
|
},
|
|
623
|
-
"../../node_modules/.pnpm/ansi-styles@5.2.0/node_modules/ansi-styles/index.js"
|
|
623
|
+
"../../node_modules/.pnpm/ansi-styles@5.2.0/node_modules/ansi-styles/index.js" (module, exports, __webpack_require__) {
|
|
624
624
|
__webpack_require__.r(exports);
|
|
625
625
|
module = __webpack_require__.nmd(module);
|
|
626
626
|
const ANSI_BACKGROUND_OFFSET = 10;
|
|
@@ -871,7 +871,7 @@ __webpack_require__.add({
|
|
|
871
871
|
get: assembleStyles
|
|
872
872
|
});
|
|
873
873
|
},
|
|
874
|
-
"../../node_modules/.pnpm/buffer-from@1.1.2/node_modules/buffer-from/index.js"
|
|
874
|
+
"../../node_modules/.pnpm/buffer-from@1.1.2/node_modules/buffer-from/index.js" (module) {
|
|
875
875
|
var toString = Object.prototype.toString;
|
|
876
876
|
var isModern = 'undefined' != typeof Buffer && 'function' == typeof Buffer.alloc && 'function' == typeof Buffer.allocUnsafe && 'function' == typeof Buffer.from;
|
|
877
877
|
function isArrayBuffer(input) {
|
|
@@ -901,7 +901,7 @@ __webpack_require__.add({
|
|
|
901
901
|
}
|
|
902
902
|
module.exports = bufferFrom;
|
|
903
903
|
},
|
|
904
|
-
"../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js"
|
|
904
|
+
"../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js" (module, __unused_webpack_exports, __webpack_require__) {
|
|
905
905
|
const ansiStyles = __webpack_require__("../../node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js");
|
|
906
906
|
const { stdout: stdoutColor, stderr: stderrColor } = __webpack_require__("../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js");
|
|
907
907
|
const { stringReplaceAll, stringEncaseCRLFWithFirstIndex } = __webpack_require__("../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/util.js");
|
|
@@ -1062,7 +1062,7 @@ __webpack_require__.add({
|
|
|
1062
1062
|
chalk.stderr.supportsColor = stderrColor;
|
|
1063
1063
|
module.exports = chalk;
|
|
1064
1064
|
},
|
|
1065
|
-
"../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/templates.js"
|
|
1065
|
+
"../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/templates.js" (module) {
|
|
1066
1066
|
const TEMPLATE_REGEX = /(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;
|
|
1067
1067
|
const STYLE_REGEX = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;
|
|
1068
1068
|
const STRING_REGEX = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;
|
|
@@ -1184,7 +1184,7 @@ __webpack_require__.add({
|
|
|
1184
1184
|
return chunks.join('');
|
|
1185
1185
|
};
|
|
1186
1186
|
},
|
|
1187
|
-
"../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/util.js"
|
|
1187
|
+
"../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/util.js" (module) {
|
|
1188
1188
|
const stringReplaceAll = (string, substring, replacer)=>{
|
|
1189
1189
|
let index = string.indexOf(substring);
|
|
1190
1190
|
if (-1 === index) return string;
|
|
@@ -1216,7 +1216,7 @@ __webpack_require__.add({
|
|
|
1216
1216
|
stringEncaseCRLFWithFirstIndex
|
|
1217
1217
|
};
|
|
1218
1218
|
},
|
|
1219
|
-
"../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/conversions.js"
|
|
1219
|
+
"../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/conversions.js" (module, __unused_webpack_exports, __webpack_require__) {
|
|
1220
1220
|
const cssKeywords = __webpack_require__("../../node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js");
|
|
1221
1221
|
const reverseKeywords = {};
|
|
1222
1222
|
for (const key of Object.keys(cssKeywords))reverseKeywords[cssKeywords[key]] = key;
|
|
@@ -2039,7 +2039,7 @@ __webpack_require__.add({
|
|
|
2039
2039
|
];
|
|
2040
2040
|
};
|
|
2041
2041
|
},
|
|
2042
|
-
"../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/index.js"
|
|
2042
|
+
"../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/index.js" (module, __unused_webpack_exports, __webpack_require__) {
|
|
2043
2043
|
const conversions = __webpack_require__("../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/conversions.js");
|
|
2044
2044
|
const route = __webpack_require__("../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/route.js");
|
|
2045
2045
|
const convert = {};
|
|
@@ -2084,7 +2084,7 @@ __webpack_require__.add({
|
|
|
2084
2084
|
});
|
|
2085
2085
|
module.exports = convert;
|
|
2086
2086
|
},
|
|
2087
|
-
"../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/route.js"
|
|
2087
|
+
"../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/route.js" (module, __unused_webpack_exports, __webpack_require__) {
|
|
2088
2088
|
const conversions = __webpack_require__("../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/conversions.js");
|
|
2089
2089
|
function buildGraph() {
|
|
2090
2090
|
const graph = {};
|
|
@@ -2148,7 +2148,7 @@ __webpack_require__.add({
|
|
|
2148
2148
|
return conversion;
|
|
2149
2149
|
};
|
|
2150
2150
|
},
|
|
2151
|
-
"../../node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js"
|
|
2151
|
+
"../../node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js" (module) {
|
|
2152
2152
|
module.exports = {
|
|
2153
2153
|
aliceblue: [
|
|
2154
2154
|
240,
|
|
@@ -2892,7 +2892,7 @@ __webpack_require__.add({
|
|
|
2892
2892
|
]
|
|
2893
2893
|
};
|
|
2894
2894
|
},
|
|
2895
|
-
"../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js"
|
|
2895
|
+
"../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js" (module) {
|
|
2896
2896
|
module.exports = (flag, argv = process.argv)=>{
|
|
2897
2897
|
const prefix = flag.startsWith('-') ? '' : 1 === flag.length ? '-' : '--';
|
|
2898
2898
|
const position = argv.indexOf(prefix + flag);
|
|
@@ -2900,7 +2900,7 @@ __webpack_require__.add({
|
|
|
2900
2900
|
return -1 !== position && (-1 === terminatorPosition || position < terminatorPosition);
|
|
2901
2901
|
};
|
|
2902
2902
|
},
|
|
2903
|
-
"../../node_modules/.pnpm/jest-diff@30.2.0/node_modules/jest-diff/build/index.js"
|
|
2903
|
+
"../../node_modules/.pnpm/jest-diff@30.2.0/node_modules/jest-diff/build/index.js" (module, __unused_webpack_exports, __webpack_require__) {
|
|
2904
2904
|
/*!
|
|
2905
2905
|
* /**
|
|
2906
2906
|
* * Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
@@ -3883,7 +3883,7 @@ __webpack_require__.add({
|
|
|
3883
3883
|
module.exports = __nested_webpack_exports__;
|
|
3884
3884
|
})();
|
|
3885
3885
|
},
|
|
3886
|
-
"../../node_modules/.pnpm/pretty-format@30.2.0/node_modules/pretty-format/build/index.js"
|
|
3886
|
+
"../../node_modules/.pnpm/pretty-format@30.2.0/node_modules/pretty-format/build/index.js" (module, __unused_webpack_exports, __webpack_require__) {
|
|
3887
3887
|
/*!
|
|
3888
3888
|
* /**
|
|
3889
3889
|
* * Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
@@ -4583,7 +4583,7 @@ __webpack_require__.add({
|
|
|
4583
4583
|
module.exports = __nested_webpack_exports__;
|
|
4584
4584
|
})();
|
|
4585
4585
|
},
|
|
4586
|
-
"../../node_modules/.pnpm/react-is@18.3.1/node_modules/react-is/cjs/react-is.development.js"
|
|
4586
|
+
"../../node_modules/.pnpm/react-is@18.3.1/node_modules/react-is/cjs/react-is.development.js" (__unused_webpack_module, exports) {
|
|
4587
4587
|
/**
|
|
4588
4588
|
* @license React
|
|
4589
4589
|
* react-is.development.js
|
|
@@ -4749,7 +4749,7 @@ __webpack_require__.add({
|
|
|
4749
4749
|
exports.typeOf = typeOf;
|
|
4750
4750
|
})();
|
|
4751
4751
|
},
|
|
4752
|
-
"../../node_modules/.pnpm/react-is@18.3.1/node_modules/react-is/cjs/react-is.production.min.js"
|
|
4752
|
+
"../../node_modules/.pnpm/react-is@18.3.1/node_modules/react-is/cjs/react-is.production.min.js" (__unused_webpack_module, exports) {
|
|
4753
4753
|
/**
|
|
4754
4754
|
* @license React
|
|
4755
4755
|
* react-is.production.min.js
|
|
@@ -4849,11 +4849,11 @@ __webpack_require__.add({
|
|
|
4849
4849
|
};
|
|
4850
4850
|
exports.typeOf = v;
|
|
4851
4851
|
},
|
|
4852
|
-
"../../node_modules/.pnpm/react-is@18.3.1/node_modules/react-is/index.js"
|
|
4852
|
+
"../../node_modules/.pnpm/react-is@18.3.1/node_modules/react-is/index.js" (module, __unused_webpack_exports, __webpack_require__) {
|
|
4853
4853
|
if ('production' === process.env.NODE_ENV) module.exports = __webpack_require__("../../node_modules/.pnpm/react-is@18.3.1/node_modules/react-is/cjs/react-is.production.min.js");
|
|
4854
4854
|
else module.exports = __webpack_require__("../../node_modules/.pnpm/react-is@18.3.1/node_modules/react-is/cjs/react-is.development.js");
|
|
4855
4855
|
},
|
|
4856
|
-
"../../node_modules/.pnpm/source-map-support@0.5.21/node_modules/source-map-support/source-map-support.js"
|
|
4856
|
+
"../../node_modules/.pnpm/source-map-support@0.5.21/node_modules/source-map-support/source-map-support.js" (module, exports, __webpack_require__) {
|
|
4857
4857
|
module = __webpack_require__.nmd(module);
|
|
4858
4858
|
var SourceMapConsumer = __webpack_require__("../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/source-map.js").SourceMapConsumer;
|
|
4859
4859
|
var path = __webpack_require__("node:path");
|
|
@@ -5241,7 +5241,7 @@ __webpack_require__.add({
|
|
|
5241
5241
|
retrieveFile = handlerExec(retrieveFileHandlers);
|
|
5242
5242
|
};
|
|
5243
5243
|
},
|
|
5244
|
-
"../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/array-set.js"
|
|
5244
|
+
"../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/array-set.js" (__unused_webpack_module, exports, __webpack_require__) {
|
|
5245
5245
|
var util = __webpack_require__("../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/util.js");
|
|
5246
5246
|
var has = Object.prototype.hasOwnProperty;
|
|
5247
5247
|
var hasNativeMap = "undefined" != typeof Map;
|
|
@@ -5289,7 +5289,7 @@ __webpack_require__.add({
|
|
|
5289
5289
|
};
|
|
5290
5290
|
exports.ArraySet = ArraySet;
|
|
5291
5291
|
},
|
|
5292
|
-
"../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64-vlq.js"
|
|
5292
|
+
"../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64-vlq.js" (__unused_webpack_module, exports, __webpack_require__) {
|
|
5293
5293
|
var base64 = __webpack_require__("../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64.js");
|
|
5294
5294
|
var VLQ_BASE_SHIFT = 5;
|
|
5295
5295
|
var VLQ_BASE = 1 << VLQ_BASE_SHIFT;
|
|
@@ -5333,7 +5333,7 @@ __webpack_require__.add({
|
|
|
5333
5333
|
aOutParam.rest = aIndex;
|
|
5334
5334
|
};
|
|
5335
5335
|
},
|
|
5336
|
-
"../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64.js"
|
|
5336
|
+
"../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64.js" (__unused_webpack_module, exports) {
|
|
5337
5337
|
var intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split('');
|
|
5338
5338
|
exports.encode = function(number) {
|
|
5339
5339
|
if (0 <= number && number < intToCharMap.length) return intToCharMap[number];
|
|
@@ -5358,7 +5358,7 @@ __webpack_require__.add({
|
|
|
5358
5358
|
return -1;
|
|
5359
5359
|
};
|
|
5360
5360
|
},
|
|
5361
|
-
"../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/binary-search.js"
|
|
5361
|
+
"../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/binary-search.js" (__unused_webpack_module, exports) {
|
|
5362
5362
|
exports.GREATEST_LOWER_BOUND = 1;
|
|
5363
5363
|
exports.LEAST_UPPER_BOUND = 2;
|
|
5364
5364
|
function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) {
|
|
@@ -5385,7 +5385,7 @@ __webpack_require__.add({
|
|
|
5385
5385
|
return index;
|
|
5386
5386
|
};
|
|
5387
5387
|
},
|
|
5388
|
-
"../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/mapping-list.js"
|
|
5388
|
+
"../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/mapping-list.js" (__unused_webpack_module, exports, __webpack_require__) {
|
|
5389
5389
|
var util = __webpack_require__("../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/util.js");
|
|
5390
5390
|
function generatedPositionAfter(mappingA, mappingB) {
|
|
5391
5391
|
var lineA = mappingA.generatedLine;
|
|
@@ -5423,7 +5423,7 @@ __webpack_require__.add({
|
|
|
5423
5423
|
};
|
|
5424
5424
|
exports.MappingList = MappingList;
|
|
5425
5425
|
},
|
|
5426
|
-
"../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/quick-sort.js"
|
|
5426
|
+
"../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/quick-sort.js" (__unused_webpack_module, exports) {
|
|
5427
5427
|
function swap(ary, x, y) {
|
|
5428
5428
|
var temp = ary[x];
|
|
5429
5429
|
ary[x] = ary[y];
|
|
@@ -5452,7 +5452,7 @@ __webpack_require__.add({
|
|
|
5452
5452
|
doQuickSort(ary, comparator, 0, ary.length - 1);
|
|
5453
5453
|
};
|
|
5454
5454
|
},
|
|
5455
|
-
"../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-consumer.js"
|
|
5455
|
+
"../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-consumer.js" (__unused_webpack_module, exports, __webpack_require__) {
|
|
5456
5456
|
var util = __webpack_require__("../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/util.js");
|
|
5457
5457
|
var binarySearch = __webpack_require__("../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/binary-search.js");
|
|
5458
5458
|
var ArraySet = __webpack_require__("../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/array-set.js").ArraySet;
|
|
@@ -5930,7 +5930,7 @@ __webpack_require__.add({
|
|
|
5930
5930
|
quickSort(this.__originalMappings, util.compareByOriginalPositions);
|
|
5931
5931
|
};
|
|
5932
5932
|
},
|
|
5933
|
-
"../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-generator.js"
|
|
5933
|
+
"../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-generator.js" (__unused_webpack_module, exports, __webpack_require__) {
|
|
5934
5934
|
var base64VLQ = __webpack_require__("../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64-vlq.js");
|
|
5935
5935
|
var util = __webpack_require__("../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/util.js");
|
|
5936
5936
|
var ArraySet = __webpack_require__("../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/array-set.js").ArraySet;
|
|
@@ -6136,7 +6136,7 @@ __webpack_require__.add({
|
|
|
6136
6136
|
};
|
|
6137
6137
|
exports.SourceMapGenerator = SourceMapGenerator;
|
|
6138
6138
|
},
|
|
6139
|
-
"../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-node.js"
|
|
6139
|
+
"../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-node.js" (__unused_webpack_module, exports, __webpack_require__) {
|
|
6140
6140
|
var SourceMapGenerator = __webpack_require__("../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-generator.js").SourceMapGenerator;
|
|
6141
6141
|
var util = __webpack_require__("../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/util.js");
|
|
6142
6142
|
var REGEX_NEWLINE = /(\r?\n)/;
|
|
@@ -6348,7 +6348,7 @@ __webpack_require__.add({
|
|
|
6348
6348
|
};
|
|
6349
6349
|
};
|
|
6350
6350
|
},
|
|
6351
|
-
"../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/util.js"
|
|
6351
|
+
"../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/util.js" (__unused_webpack_module, exports) {
|
|
6352
6352
|
function getArg(aArgs, aName, aDefaultValue) {
|
|
6353
6353
|
if (aName in aArgs) return aArgs[aName];
|
|
6354
6354
|
if (3 === arguments.length) return aDefaultValue;
|
|
@@ -6547,12 +6547,12 @@ __webpack_require__.add({
|
|
|
6547
6547
|
}
|
|
6548
6548
|
exports.computeSourceURL = computeSourceURL;
|
|
6549
6549
|
},
|
|
6550
|
-
"../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/source-map.js"
|
|
6550
|
+
"../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/source-map.js" (__unused_webpack_module, exports, __webpack_require__) {
|
|
6551
6551
|
__webpack_require__("../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-generator.js").SourceMapGenerator;
|
|
6552
6552
|
exports.SourceMapConsumer = __webpack_require__("../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-consumer.js").SourceMapConsumer;
|
|
6553
6553
|
__webpack_require__("../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-node.js");
|
|
6554
6554
|
},
|
|
6555
|
-
"../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js"
|
|
6555
|
+
"../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js" (module, __unused_webpack_exports, __webpack_require__) {
|
|
6556
6556
|
const os = __webpack_require__("node:os");
|
|
6557
6557
|
const tty = __webpack_require__("node:tty");
|
|
6558
6558
|
const hasFlag = __webpack_require__("../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js");
|
|
@@ -6619,10 +6619,10 @@ __webpack_require__.add({
|
|
|
6619
6619
|
stderr: translateLevel(supportsColor(true, tty.isatty(2)))
|
|
6620
6620
|
};
|
|
6621
6621
|
},
|
|
6622
|
-
timers
|
|
6622
|
+
timers (module) {
|
|
6623
6623
|
module.exports = require("timers");
|
|
6624
6624
|
},
|
|
6625
|
-
"timers/promises"
|
|
6625
|
+
"timers/promises" (module) {
|
|
6626
6626
|
module.exports = require("timers/promises");
|
|
6627
6627
|
}
|
|
6628
6628
|
});
|
|
@@ -6630,17 +6630,22 @@ const gracefulExit = process.execArgv.some((execArg)=>execArg.startsWith('--perf
|
|
|
6630
6630
|
if (gracefulExit) process.on('SIGTERM', ()=>{
|
|
6631
6631
|
process.exit();
|
|
6632
6632
|
});
|
|
6633
|
-
const
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
const diff =
|
|
6639
|
-
|
|
6640
|
-
|
|
6641
|
-
|
|
6642
|
-
|
|
6643
|
-
|
|
6633
|
+
const build_0 = __webpack_require__("../../node_modules/.pnpm/jest-diff@30.2.0/node_modules/jest-diff/build/index.js");
|
|
6634
|
+
build_0.DIFF_DELETE;
|
|
6635
|
+
build_0.DIFF_EQUAL;
|
|
6636
|
+
build_0.DIFF_INSERT;
|
|
6637
|
+
build_0.Diff;
|
|
6638
|
+
const diff = build_0.diff;
|
|
6639
|
+
build_0.diffLinesRaw;
|
|
6640
|
+
build_0.diffLinesUnified;
|
|
6641
|
+
build_0.diffLinesUnified2;
|
|
6642
|
+
build_0.diffStringsRaw;
|
|
6643
|
+
build_0.diffStringsUnified;
|
|
6644
|
+
const build_1 = __webpack_require__("../../node_modules/.pnpm/pretty-format@30.2.0/node_modules/pretty-format/build/index.js");
|
|
6645
|
+
build_1.DEFAULT_OPTIONS;
|
|
6646
|
+
const format = build_1.format;
|
|
6647
|
+
const plugins = build_1.plugins;
|
|
6648
|
+
build_1["default"];
|
|
6644
6649
|
const external_node_util_ = __webpack_require__("node:util");
|
|
6645
6650
|
const REAL_TIMERS = {};
|
|
6646
6651
|
const setRealTimers = ()=>{
|
|
@@ -6662,9 +6667,17 @@ const formatTestError = (err, test)=>{
|
|
|
6662
6667
|
stack: error.stack
|
|
6663
6668
|
};
|
|
6664
6669
|
if (error instanceof TestRegisterError && test?.type === 'case') errObj.message = `Can't nest describe or test inside a test. ${error.message} because it is nested within test '${test.name}'`;
|
|
6665
|
-
if (error.showDiff || void 0 === error.showDiff && void 0 !== error.expected && void 0 !== error.actual)
|
|
6666
|
-
|
|
6667
|
-
|
|
6670
|
+
if (error.showDiff || void 0 === error.showDiff && void 0 !== error.expected && void 0 !== error.actual) {
|
|
6671
|
+
errObj.diff = diff(err.expected, err.actual, {
|
|
6672
|
+
expand: false
|
|
6673
|
+
});
|
|
6674
|
+
errObj.expected = 'string' == typeof error.expected ? error.expected : format(error.expected, {
|
|
6675
|
+
plugins: Object.values(plugins)
|
|
6676
|
+
});
|
|
6677
|
+
errObj.actual = 'string' == typeof error.actual ? error.actual : format(error.actual, {
|
|
6678
|
+
plugins: Object.values(plugins)
|
|
6679
|
+
});
|
|
6680
|
+
}
|
|
6668
6681
|
return errObj;
|
|
6669
6682
|
});
|
|
6670
6683
|
};
|
|
@@ -7061,6 +7074,12 @@ const runInPool = async (options)=>{
|
|
|
7061
7074
|
outputModule: options.context.outputModule
|
|
7062
7075
|
});
|
|
7063
7076
|
const results = await runner.runTests(testPath, {
|
|
7077
|
+
onTestSuiteStart: async (test)=>{
|
|
7078
|
+
await rpc.onTestSuiteStart(test);
|
|
7079
|
+
},
|
|
7080
|
+
onTestSuiteResult: async (result)=>{
|
|
7081
|
+
await rpc.onTestSuiteResult(result);
|
|
7082
|
+
},
|
|
7064
7083
|
onTestCaseStart: async (test)=>{
|
|
7065
7084
|
await rpc.onTestCaseStart(test);
|
|
7066
7085
|
},
|
package/dist/734.js
CHANGED
|
@@ -2,7 +2,7 @@ import 'module';
|
|
|
2
2
|
/*#__PURE__*/ import.meta.url;
|
|
3
3
|
import { __webpack_require__ } from "./rslib-runtime.js";
|
|
4
4
|
import { external_node_module_createRequire } from "./946.js";
|
|
5
|
-
import { pathToFileURL } from "./
|
|
5
|
+
import { pathToFileURL } from "./404.js";
|
|
6
6
|
const picocolors = __webpack_require__("../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js");
|
|
7
7
|
var picocolors_default = /*#__PURE__*/ __webpack_require__.n(picocolors);
|
|
8
8
|
const CoverageProviderMap = {
|
package/dist/946.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import 'module';
|
|
2
2
|
/*#__PURE__*/ import.meta.url;
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
7
|
-
import * as
|
|
3
|
+
import * as __rspack_external_node_fs_5ea92f0c from "node:fs";
|
|
4
|
+
import * as __rspack_external_node_os_74b4b876 from "node:os";
|
|
5
|
+
import * as __rspack_external_node_path_c5b9b54f from "node:path";
|
|
6
|
+
import * as __rspack_external_node_tty_c64aab7e from "node:tty";
|
|
7
|
+
import * as __rspack_external_node_util_1b29d436 from "node:util";
|
|
8
8
|
import { __webpack_require__ } from "./rslib-runtime.js";
|
|
9
9
|
import node_process from "node:process";
|
|
10
10
|
import { fileURLToPath } from "url";
|
|
@@ -12,7 +12,7 @@ import { createRequire } from "module";
|
|
|
12
12
|
import promises, { lstat, readdir, realpath, stat as promises_stat, writeFile } from "node:fs/promises";
|
|
13
13
|
import { createRequire as external_node_module_createRequire, isBuiltin } from "node:module";
|
|
14
14
|
__webpack_require__.add({
|
|
15
|
-
"../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js"
|
|
15
|
+
"../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js" (module) {
|
|
16
16
|
let p = process || {}, argv = p.argv || [], env = p.env || {};
|
|
17
17
|
let isColorSupported = !(!!env.NO_COLOR || argv.includes("--no-color")) && (!!env.FORCE_COLOR || argv.includes("--color") || "win32" === p.platform || (p.stdout || {}).isTTY && "dumb" !== env.TERM || !!env.CI);
|
|
18
18
|
let formatter = (open, close, replace = open)=>(input)=>{
|
|
@@ -78,7 +78,7 @@ __webpack_require__.add({
|
|
|
78
78
|
module.exports = createColors();
|
|
79
79
|
module.exports.createColors = createColors;
|
|
80
80
|
},
|
|
81
|
-
"../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.js"
|
|
81
|
+
"../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.js" (module, __unused_webpack_exports, __webpack_require__) {
|
|
82
82
|
const pico = __webpack_require__("../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.js");
|
|
83
83
|
const utils = __webpack_require__("../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.js");
|
|
84
84
|
function picomatch(glob, options, returnState = false) {
|
|
@@ -91,7 +91,7 @@ __webpack_require__.add({
|
|
|
91
91
|
Object.assign(picomatch, pico);
|
|
92
92
|
module.exports = picomatch;
|
|
93
93
|
},
|
|
94
|
-
"../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.js"
|
|
94
|
+
"../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.js" (module) {
|
|
95
95
|
const WIN_SLASH = '\\\\/';
|
|
96
96
|
const WIN_NO_SLASH = `[^${WIN_SLASH}]`;
|
|
97
97
|
const DOT_LITERAL = '\\.';
|
|
@@ -251,7 +251,7 @@ __webpack_require__.add({
|
|
|
251
251
|
}
|
|
252
252
|
};
|
|
253
253
|
},
|
|
254
|
-
"../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.js"
|
|
254
|
+
"../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.js" (module, __unused_webpack_exports, __webpack_require__) {
|
|
255
255
|
const constants = __webpack_require__("../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.js");
|
|
256
256
|
const utils = __webpack_require__("../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.js");
|
|
257
257
|
const { MAX_LENGTH, POSIX_REGEX_SOURCE, REGEX_NON_SPECIAL_CHARS, REGEX_SPECIAL_CHARS_BACKREF, REPLACEMENTS } = constants;
|
|
@@ -1039,7 +1039,7 @@ __webpack_require__.add({
|
|
|
1039
1039
|
};
|
|
1040
1040
|
module.exports = parse;
|
|
1041
1041
|
},
|
|
1042
|
-
"../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.js"
|
|
1042
|
+
"../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.js" (module, __unused_webpack_exports, __webpack_require__) {
|
|
1043
1043
|
const scan = __webpack_require__("../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.js");
|
|
1044
1044
|
const parse = __webpack_require__("../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.js");
|
|
1045
1045
|
const utils = __webpack_require__("../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.js");
|
|
@@ -1172,7 +1172,7 @@ __webpack_require__.add({
|
|
|
1172
1172
|
picomatch.constants = constants;
|
|
1173
1173
|
module.exports = picomatch;
|
|
1174
1174
|
},
|
|
1175
|
-
"../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.js"
|
|
1175
|
+
"../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.js" (module, __unused_webpack_exports, __webpack_require__) {
|
|
1176
1176
|
const utils = __webpack_require__("../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.js");
|
|
1177
1177
|
const { CHAR_ASTERISK, CHAR_AT, CHAR_BACKWARD_SLASH, CHAR_COMMA, CHAR_DOT, CHAR_EXCLAMATION_MARK, CHAR_FORWARD_SLASH, CHAR_LEFT_CURLY_BRACE, CHAR_LEFT_PARENTHESES, CHAR_LEFT_SQUARE_BRACKET, CHAR_PLUS, CHAR_QUESTION_MARK, CHAR_RIGHT_CURLY_BRACE, CHAR_RIGHT_PARENTHESES, CHAR_RIGHT_SQUARE_BRACKET } = __webpack_require__("../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.js");
|
|
1178
1178
|
const isPathSeparator = (code)=>code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;
|
|
@@ -1440,7 +1440,7 @@ __webpack_require__.add({
|
|
|
1440
1440
|
};
|
|
1441
1441
|
module.exports = scan;
|
|
1442
1442
|
},
|
|
1443
|
-
"../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.js"
|
|
1443
|
+
"../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.js" (__unused_webpack_module, exports, __webpack_require__) {
|
|
1444
1444
|
const { REGEX_BACKSLASH, REGEX_REMOVE_BACKSLASH, REGEX_SPECIAL_CHARS, REGEX_SPECIAL_CHARS_GLOBAL } = __webpack_require__("../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.js");
|
|
1445
1445
|
exports.isObject = (val)=>null !== val && 'object' == typeof val && !Array.isArray(val);
|
|
1446
1446
|
exports.hasRegexChars = (str)=>REGEX_SPECIAL_CHARS.test(str);
|
|
@@ -1484,20 +1484,20 @@ __webpack_require__.add({
|
|
|
1484
1484
|
return last;
|
|
1485
1485
|
};
|
|
1486
1486
|
},
|
|
1487
|
-
"node:fs"
|
|
1488
|
-
module.exports =
|
|
1487
|
+
"node:fs" (module) {
|
|
1488
|
+
module.exports = __rspack_external_node_fs_5ea92f0c;
|
|
1489
1489
|
},
|
|
1490
|
-
"node:os"
|
|
1491
|
-
module.exports =
|
|
1490
|
+
"node:os" (module) {
|
|
1491
|
+
module.exports = __rspack_external_node_os_74b4b876;
|
|
1492
1492
|
},
|
|
1493
|
-
"node:path"
|
|
1494
|
-
module.exports =
|
|
1493
|
+
"node:path" (module) {
|
|
1494
|
+
module.exports = __rspack_external_node_path_c5b9b54f;
|
|
1495
1495
|
},
|
|
1496
|
-
"node:tty"
|
|
1497
|
-
module.exports =
|
|
1496
|
+
"node:tty" (module) {
|
|
1497
|
+
module.exports = __rspack_external_node_tty_c64aab7e;
|
|
1498
1498
|
},
|
|
1499
|
-
"node:util"
|
|
1500
|
-
module.exports =
|
|
1499
|
+
"node:util" (module) {
|
|
1500
|
+
module.exports = __rspack_external_node_util_1b29d436;
|
|
1501
1501
|
}
|
|
1502
1502
|
});
|
|
1503
1503
|
const external_node_os_ = __webpack_require__("node:os");
|
|
@@ -1604,9 +1604,10 @@ const supportsColor = {
|
|
|
1604
1604
|
};
|
|
1605
1605
|
const supports_color = supportsColor;
|
|
1606
1606
|
const colorLevel = supports_color.stdout ? supports_color.stdout.level : 0;
|
|
1607
|
-
let errorStackRegExp = /at\
|
|
1608
|
-
let anonymousErrorStackRegExp = /at\
|
|
1609
|
-
let
|
|
1607
|
+
let errorStackRegExp = /at [^\r\n]{0,200}:\d+:\d+[\s\)]*$/;
|
|
1608
|
+
let anonymousErrorStackRegExp = /at [^\r\n]{0,200}\(<anonymous>\)$/;
|
|
1609
|
+
let indexErrorStackRegExp = /at [^\r\n]{0,200}\(index\s\d+\)$/;
|
|
1610
|
+
let isErrorStackMessage = (message)=>errorStackRegExp.test(message) || anonymousErrorStackRegExp.test(message) || indexErrorStackRegExp.test(message);
|
|
1610
1611
|
let formatter = (open, close, replace = open)=>colorLevel >= 2 ? (input)=>{
|
|
1611
1612
|
let string = '' + input;
|
|
1612
1613
|
let index = string.indexOf(close, open.length);
|
|
@@ -1718,9 +1719,10 @@ const normalizeErrorMessage = (err)=>{
|
|
|
1718
1719
|
let createLogger = (options = {})=>{
|
|
1719
1720
|
let maxLevel = options.level || 'info';
|
|
1720
1721
|
let log = (type, message, ...args)=>{
|
|
1721
|
-
if (LOG_LEVEL[LOG_TYPES[type].level] > LOG_LEVEL[maxLevel]) return;
|
|
1722
|
-
if (null == message) return console.log();
|
|
1723
1722
|
let logType = LOG_TYPES[type];
|
|
1723
|
+
const { level } = logType;
|
|
1724
|
+
if (LOG_LEVEL[level] > LOG_LEVEL[maxLevel]) return;
|
|
1725
|
+
if (null == message) return console.log();
|
|
1724
1726
|
let label = '';
|
|
1725
1727
|
let text = '';
|
|
1726
1728
|
if ('label' in logType) {
|
|
@@ -1734,11 +1736,12 @@ let createLogger = (options = {})=>{
|
|
|
1734
1736
|
text += yellow('\n [cause]: ');
|
|
1735
1737
|
text += cause instanceof Error ? normalizeErrorMessage(cause) : String(cause);
|
|
1736
1738
|
}
|
|
1737
|
-
} else if ('error' ===
|
|
1739
|
+
} else if ('error' === level && 'string' == typeof message) {
|
|
1738
1740
|
let lines = message.split('\n');
|
|
1739
1741
|
text = lines.map((line)=>isErrorStackMessage(line) ? gray(line) : line).join('\n');
|
|
1740
1742
|
} else text = `${message}`;
|
|
1741
|
-
|
|
1743
|
+
const method = 'error' === level || 'warn' === level ? level : 'log';
|
|
1744
|
+
console[method](label.length ? `${label} ${text}` : text, ...args);
|
|
1742
1745
|
};
|
|
1743
1746
|
let logger = {
|
|
1744
1747
|
greet: (message)=>log('log', gradient(message))
|
|
@@ -2336,6 +2339,13 @@ const ADDITIONAL_NODE_BUILTINS = [
|
|
|
2336
2339
|
/^node:/,
|
|
2337
2340
|
'pnpapi'
|
|
2338
2341
|
];
|
|
2342
|
+
const bgColor = (background, str)=>{
|
|
2343
|
+
if ([
|
|
2344
|
+
'bgRed',
|
|
2345
|
+
'bgBlack'
|
|
2346
|
+
].includes(background)) return picocolors_default()[background](picocolors_default().white(picocolors_default().bold(str)));
|
|
2347
|
+
return picocolors_default()[background](picocolors_default().blackBright(picocolors_default().bold(str)));
|
|
2348
|
+
};
|
|
2339
2349
|
const isTTY = (type = 'stdout')=>('stdin' === type ? process.stdin.isTTY : process.stdout.isTTY) && !process.env.CI;
|
|
2340
2350
|
const external_node_path_ = __webpack_require__("node:path");
|
|
2341
2351
|
const external_node_fs_ = __webpack_require__("node:fs");
|
|
@@ -3249,4 +3259,4 @@ const formatTestPath = (root, testFilePath)=>{
|
|
|
3249
3259
|
return prettyTestPath(testPath);
|
|
3250
3260
|
};
|
|
3251
3261
|
const picomatch = __webpack_require__("../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.js");
|
|
3252
|
-
export { ADDITIONAL_NODE_BUILTINS, DEFAULT_CONFIG_EXTENSIONS, DEFAULT_CONFIG_NAME, ROOT_SUITE_NAME, TEMP_RSTEST_OUTPUT_DIR, TEMP_RSTEST_OUTPUT_DIR_GLOB, TS_CONFIG_FILE, basename, castArray, clearScreen, dirname, external_node_module_createRequire, filterProjects, formatError, formatRootStr, formatTestPath, getAbsolutePath, getSetupFiles, getTaskNameWithPrefix, getTestEntries, glob, globalApis, isAbsolute, isBuiltin, isDebug, isDynamicPattern, isObject, isTTY, join, lstat, needFlagExperimentalDetectModule, node_process, normalize, pathe_M_eThtNZ_relative, posix, prettyTestPath, prettyTime, promises_stat, readdir, realpath, resolve, serializableConfig, src_logger, undoSerializableConfig, writeFile };
|
|
3262
|
+
export { ADDITIONAL_NODE_BUILTINS, DEFAULT_CONFIG_EXTENSIONS, DEFAULT_CONFIG_NAME, ROOT_SUITE_NAME, TEMP_RSTEST_OUTPUT_DIR, TEMP_RSTEST_OUTPUT_DIR_GLOB, TS_CONFIG_FILE, basename, bgColor, castArray, clearScreen, dirname, external_node_module_createRequire, filterProjects, formatError, formatRootStr, formatTestPath, getAbsolutePath, getSetupFiles, getTaskNameWithPrefix, getTestEntries, glob, globalApis, isAbsolute, isBuiltin, isDebug, isDynamicPattern, isObject, isTTY, join, lstat, needFlagExperimentalDetectModule, node_process, normalize, pathe_M_eThtNZ_relative, posix, prettyTestPath, prettyTime, promises_stat, readdir, realpath, resolve, serializableConfig, src_logger, undoSerializableConfig, writeFile };
|