@rstest/core 0.9.0 → 0.9.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.
Files changed (54) hide show
  1. package/LICENSE.md +2 -2
  2. package/dist/{0~89.js → 0~8843.js} +49 -33
  3. package/dist/{0~1472.js → 0~browserLoader.js} +5 -5
  4. package/dist/{0~7882.js → 0~browser~1.js} +46 -47
  5. package/dist/{0~8426.js → 0~checkThresholds.js} +2 -2
  6. package/dist/{0~130.js → 0~console.js} +15 -17
  7. package/dist/0~dist.js +1014 -0
  8. package/dist/{0~7583.js → 0~esm.js} +68 -70
  9. package/dist/{0~4403.js → 0~generate.js} +5 -6
  10. package/dist/{0~4809.js → 0~happyDom.js} +2 -2
  11. package/dist/{0~3346.js → 0~interop.js} +0 -1
  12. package/dist/{0~62.js → 0~jsdom.js} +2 -2
  13. package/dist/{0~262.js → 0~lib.js} +4 -1
  14. package/dist/{0~9634.js → 0~listTests.js} +14 -23
  15. package/dist/{0~6923.js → 0~loadEsModule.js} +16 -8
  16. package/dist/{0~5835.js → 0~loadModule.js} +27 -14
  17. package/dist/{0~6907.js → 0~magic-string.es.js} +2 -1
  18. package/dist/{0~2255.js → 0~plugin.js} +2 -4
  19. package/dist/{0~6588.js → 0~restart.js} +7 -11
  20. package/dist/{0~2173.js → 0~runTests.js} +27 -19
  21. package/dist/{487.js → 1255.js} +22 -15
  22. package/dist/{6151.js → 1949.js} +3027 -36
  23. package/dist/{6973.js → 255.js} +7 -8
  24. package/dist/{9131.js → 3145.js} +220 -486
  25. package/dist/{1157.js → 4411.js} +35 -35
  26. package/dist/{4484.js → 5040.js} +1 -2
  27. package/dist/{3160.js → 6830.js} +396 -93
  28. package/dist/7011.js +1 -1
  29. package/dist/{1294.js → 7552.js} +28 -22
  30. package/dist/{5734.js → 7704.js} +6 -5
  31. package/dist/browser-runtime/{2~907.js → 2~magic-string.es.js} +18 -11
  32. package/dist/browser-runtime/{389.js → 723.js} +3059 -80
  33. package/dist/browser-runtime/{389.js.LICENSE.txt → 723.js.LICENSE.txt} +0 -22
  34. package/dist/browser-runtime/index.js +1 -1
  35. package/dist/browser-runtime/rslib-runtime.js +11 -3
  36. package/dist/browser.js +9 -7
  37. package/dist/globalSetupWorker.js +4 -13
  38. package/dist/index.d.ts +3 -0
  39. package/dist/index.js +2 -2
  40. package/dist/mockRuntimeCode.js +15 -9
  41. package/dist/rslib-runtime.js +5 -8
  42. package/dist/worker.js +23 -46
  43. package/package.json +12 -10
  44. package/dist/0~1240.js +0 -951
  45. package/dist/0~1981.js +0 -2
  46. package/dist/3160.js.LICENSE.txt +0 -21
  47. package/dist/4881.js +0 -2
  48. package/dist/6198.js +0 -2
  49. package/dist/721.js +0 -8
  50. /package/dist/{0~7583.js.LICENSE.txt → 0~esm.js.LICENSE.txt} +0 -0
  51. /package/dist/{0~3062.js → 0~utils.js} +0 -0
  52. /package/dist/{6151.js.LICENSE.txt → 1949.js.LICENSE.txt} +0 -0
  53. /package/dist/{4597.js → 1983.js} +0 -0
  54. /package/dist/{1294.js.LICENSE.txt → 7552.js.LICENSE.txt} +0 -0
@@ -1,11 +1,9 @@
1
- /*! For license information please see 3160.js.LICENSE.txt */
2
1
  import "node:module";
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
2
  import { __webpack_require__ } from "./rslib-runtime.js";
8
- import node_process, { stdin, stdout } from "node:process";
3
+ import { styleText } from "node:util";
4
+ import node_process from "node:process";
5
+ import node_os from "node:os";
6
+ import node_tty from "node:tty";
9
7
  __webpack_require__.add({
10
8
  "../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js" (module) {
11
9
  let p = process || {}, argv = p.argv || [], env = p.env || {};
@@ -72,22 +70,16 @@ __webpack_require__.add({
72
70
  };
73
71
  module.exports = createColors();
74
72
  module.exports.createColors = createColors;
75
- },
76
- "node:fs" (module) {
77
- module.exports = __rspack_external_node_fs_5ea92f0c;
78
- },
79
- "node:os" (module) {
80
- module.exports = __rspack_external_node_os_74b4b876;
81
- },
82
- "node:path" (module) {
83
- module.exports = __rspack_external_node_path_c5b9b54f;
84
- },
85
- tty (module) {
86
- module.exports = __rspack_external_node_tty_c64aab7e;
87
73
  }
88
74
  });
89
- const external_node_os_ = __webpack_require__("node:os");
90
- const external_node_tty_ = __webpack_require__("tty");
75
+ const createStyler = (style)=>(text)=>styleText(style, String(text));
76
+ const bold = createStyler('bold');
77
+ const red = createStyler('red');
78
+ const green = createStyler('green');
79
+ const yellow = createStyler('yellow');
80
+ const magenta = createStyler('magenta');
81
+ const cyan = createStyler('cyan');
82
+ const gray = createStyler('gray');
91
83
  function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : node_process.argv) {
92
84
  const prefix = flag.startsWith('-') ? '' : 1 === flag.length ? '-' : '--';
93
85
  const position = argv.indexOf(prefix + flag);
@@ -135,7 +127,7 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
135
127
  const min = forceColor || 0;
136
128
  if ('dumb' === env.TERM) return min;
137
129
  if ('win32' === node_process.platform) {
138
- const osRelease = external_node_os_["default"].release().split('.');
130
+ const osRelease = node_os.release().split('.');
139
131
  if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) return Number(osRelease[2]) >= 14931 ? 3 : 2;
140
132
  return 1;
141
133
  }
@@ -182,10 +174,10 @@ function createSupportsColor(stream, options = {}) {
182
174
  }
183
175
  const supportsColor = {
184
176
  stdout: createSupportsColor({
185
- isTTY: external_node_tty_["default"].isatty(1)
177
+ isTTY: node_tty.isatty(1)
186
178
  }),
187
179
  stderr: createSupportsColor({
188
- isTTY: external_node_tty_["default"].isatty(2)
180
+ isTTY: node_tty.isatty(2)
189
181
  })
190
182
  };
191
183
  const supports_color = supportsColor;
@@ -194,24 +186,6 @@ let errorStackRegExp = /at [^\r\n]{0,200}:\d+:\d+[\s\)]*$/;
194
186
  let anonymousErrorStackRegExp = /at [^\r\n]{0,200}\(<anonymous>\)$/;
195
187
  let indexErrorStackRegExp = /at [^\r\n]{0,200}\(index\s\d+\)$/;
196
188
  let isErrorStackMessage = (message)=>errorStackRegExp.test(message) || anonymousErrorStackRegExp.test(message) || indexErrorStackRegExp.test(message);
197
- let formatter = (open, close, replace = open)=>colorLevel >= 2 ? (input)=>{
198
- let string = '' + input;
199
- let index = string.indexOf(close, open.length);
200
- return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close;
201
- } : String;
202
- let replaceClose = (string, close, replace, index)=>{
203
- let start = string.substring(0, index) + replace;
204
- let end = string.substring(index + close.length);
205
- let nextIndex = end.indexOf(close);
206
- return ~nextIndex ? start + replaceClose(end, close, replace, nextIndex) : start + end;
207
- };
208
- const bold = formatter('\x1b[1m', '\x1b[22m', '\x1b[22m\x1b[1m');
209
- const red = formatter('\x1b[31m', '\x1b[39m');
210
- const green = formatter('\x1b[32m', '\x1b[39m');
211
- const yellow = formatter('\x1b[33m', '\x1b[39m');
212
- const magenta = formatter('\x1b[35m', '\x1b[39m');
213
- const cyan = formatter('\x1b[36m', '\x1b[39m');
214
- const gray = formatter('\x1b[90m', '\x1b[39m');
215
189
  let startColor = [
216
190
  189,
217
191
  255,
@@ -347,67 +321,396 @@ let createLogger = (options = {})=>{
347
321
  return logger;
348
322
  };
349
323
  let src_logger = createLogger();
350
- const CURSOR_CLI = 'cursor-cli';
351
- const CLAUDE = 'claude';
352
- const REPLIT = 'replit';
353
- const GEMINI = 'gemini';
354
- const CODEX = 'codex';
355
- const AUGMENT_CLI = 'augment-cli';
356
- const OPENCODE = 'opencode';
357
- function determineAgent() {
358
- if ('1' === process.env.RSTEST_NO_AGENT) return {
359
- isAgent: false,
360
- agent: void 0
324
+ const dist_e = globalThis.process?.env || Object.create(null), dist_t = globalThis.process || {
325
+ env: dist_e
326
+ }, dist_n = void 0 !== dist_t && dist_t.env && dist_t.env.NODE_ENV || void 0, dist_r = [
327
+ [
328
+ "claude",
329
+ [
330
+ "CLAUDECODE",
331
+ "CLAUDE_CODE"
332
+ ]
333
+ ],
334
+ [
335
+ "replit",
336
+ [
337
+ "REPL_ID"
338
+ ]
339
+ ],
340
+ [
341
+ "gemini",
342
+ [
343
+ "GEMINI_CLI"
344
+ ]
345
+ ],
346
+ [
347
+ "codex",
348
+ [
349
+ "CODEX_SANDBOX",
350
+ "CODEX_THREAD_ID"
351
+ ]
352
+ ],
353
+ [
354
+ "opencode",
355
+ [
356
+ "OPENCODE"
357
+ ]
358
+ ],
359
+ [
360
+ "pi",
361
+ [
362
+ dist_i("PATH", /\.pi[\\/]agent/)
363
+ ]
364
+ ],
365
+ [
366
+ "auggie",
367
+ [
368
+ "AUGMENT_AGENT"
369
+ ]
370
+ ],
371
+ [
372
+ "goose",
373
+ [
374
+ "GOOSE_PROVIDER"
375
+ ]
376
+ ],
377
+ [
378
+ "devin",
379
+ [
380
+ dist_i("EDITOR", /devin/)
381
+ ]
382
+ ],
383
+ [
384
+ "cursor",
385
+ [
386
+ "CURSOR_AGENT"
387
+ ]
388
+ ],
389
+ [
390
+ "kiro",
391
+ [
392
+ dist_i("TERM_PROGRAM", /kiro/)
393
+ ]
394
+ ]
395
+ ];
396
+ function dist_i(t, n) {
397
+ return ()=>{
398
+ let r = dist_e[t];
399
+ return r ? n.test(r) : !1;
361
400
  };
362
- if (process.env.AI_AGENT) {
363
- const name = process.env.AI_AGENT.trim();
364
- if (name) return {
365
- isAgent: true,
366
- agent: {
367
- name: name
368
- }
369
- };
370
- }
371
- if (process.env.CURSOR_AGENT) return {
372
- isAgent: true,
373
- agent: {
374
- name: CURSOR_CLI
375
- }
401
+ }
402
+ function dist_a() {
403
+ let t = dist_e.AI_AGENT;
404
+ if (t) return {
405
+ name: t.toLowerCase()
376
406
  };
377
- if (process.env.GEMINI_CLI) return {
378
- isAgent: true,
379
- agent: {
380
- name: GEMINI
381
- }
407
+ for (let [t, n] of dist_r)for (let r of n)if ("string" == typeof r ? dist_e[r] : r()) return {
408
+ name: t
382
409
  };
383
- if (process.env.CODEX_SANDBOX) return {
384
- isAgent: true,
385
- agent: {
386
- name: CODEX
410
+ return {};
411
+ }
412
+ const dist_o = dist_a(), dist_l = (dist_o.name, dist_o.name, [
413
+ [
414
+ "APPVEYOR"
415
+ ],
416
+ [
417
+ "AWS_AMPLIFY",
418
+ "AWS_APP_ID",
419
+ {
420
+ ci: !0
387
421
  }
388
- };
389
- if (process.env.AUGMENT_AGENT) return {
390
- isAgent: true,
391
- agent: {
392
- name: AUGMENT_CLI
422
+ ],
423
+ [
424
+ "AZURE_PIPELINES",
425
+ "SYSTEM_TEAMFOUNDATIONCOLLECTIONURI"
426
+ ],
427
+ [
428
+ "AZURE_STATIC",
429
+ "INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN"
430
+ ],
431
+ [
432
+ "APPCIRCLE",
433
+ "AC_APPCIRCLE"
434
+ ],
435
+ [
436
+ "BAMBOO",
437
+ "bamboo_planKey"
438
+ ],
439
+ [
440
+ "BITBUCKET",
441
+ "BITBUCKET_COMMIT"
442
+ ],
443
+ [
444
+ "BITRISE",
445
+ "BITRISE_IO"
446
+ ],
447
+ [
448
+ "BUDDY",
449
+ "BUDDY_WORKSPACE_ID"
450
+ ],
451
+ [
452
+ "BUILDKITE"
453
+ ],
454
+ [
455
+ "CIRCLE",
456
+ "CIRCLECI"
457
+ ],
458
+ [
459
+ "CIRRUS",
460
+ "CIRRUS_CI"
461
+ ],
462
+ [
463
+ "CLOUDFLARE_PAGES",
464
+ "CF_PAGES",
465
+ {
466
+ ci: !0
393
467
  }
394
- };
395
- if (process.env.OPENCODE) return {
396
- isAgent: true,
397
- agent: {
398
- name: OPENCODE
468
+ ],
469
+ [
470
+ "CLOUDFLARE_WORKERS",
471
+ "WORKERS_CI",
472
+ {
473
+ ci: !0
399
474
  }
400
- };
401
- if (process.env.CLAUDECODE || process.env.CLAUDE_CODE) return {
402
- isAgent: true,
403
- agent: {
404
- name: CLAUDE
475
+ ],
476
+ [
477
+ "GOOGLE_CLOUDRUN",
478
+ "K_SERVICE"
479
+ ],
480
+ [
481
+ "GOOGLE_CLOUDRUN_JOB",
482
+ "CLOUD_RUN_JOB"
483
+ ],
484
+ [
485
+ "CODEBUILD",
486
+ "CODEBUILD_BUILD_ARN"
487
+ ],
488
+ [
489
+ "CODEFRESH",
490
+ "CF_BUILD_ID"
491
+ ],
492
+ [
493
+ "DRONE"
494
+ ],
495
+ [
496
+ "DRONE",
497
+ "DRONE_BUILD_EVENT"
498
+ ],
499
+ [
500
+ "DSARI"
501
+ ],
502
+ [
503
+ "GITHUB_ACTIONS"
504
+ ],
505
+ [
506
+ "GITLAB",
507
+ "GITLAB_CI"
508
+ ],
509
+ [
510
+ "GITLAB",
511
+ "CI_MERGE_REQUEST_ID"
512
+ ],
513
+ [
514
+ "GOCD",
515
+ "GO_PIPELINE_LABEL"
516
+ ],
517
+ [
518
+ "LAYERCI"
519
+ ],
520
+ [
521
+ "JENKINS",
522
+ "JENKINS_URL"
523
+ ],
524
+ [
525
+ "HUDSON",
526
+ "HUDSON_URL"
527
+ ],
528
+ [
529
+ "MAGNUM"
530
+ ],
531
+ [
532
+ "NETLIFY"
533
+ ],
534
+ [
535
+ "NETLIFY",
536
+ "NETLIFY_LOCAL",
537
+ {
538
+ ci: !1
539
+ }
540
+ ],
541
+ [
542
+ "NEVERCODE"
543
+ ],
544
+ [
545
+ "RENDER"
546
+ ],
547
+ [
548
+ "SAIL",
549
+ "SAILCI"
550
+ ],
551
+ [
552
+ "SEMAPHORE"
553
+ ],
554
+ [
555
+ "SCREWDRIVER"
556
+ ],
557
+ [
558
+ "SHIPPABLE"
559
+ ],
560
+ [
561
+ "SOLANO",
562
+ "TDDIUM"
563
+ ],
564
+ [
565
+ "STRIDER"
566
+ ],
567
+ [
568
+ "TEAMCITY",
569
+ "TEAMCITY_VERSION"
570
+ ],
571
+ [
572
+ "TRAVIS"
573
+ ],
574
+ [
575
+ "VERCEL",
576
+ "NOW_BUILDER"
577
+ ],
578
+ [
579
+ "VERCEL",
580
+ "VERCEL",
581
+ {
582
+ ci: !1
583
+ }
584
+ ],
585
+ [
586
+ "VERCEL",
587
+ "VERCEL_ENV",
588
+ {
589
+ ci: !1
590
+ }
591
+ ],
592
+ [
593
+ "APPCENTER",
594
+ "APPCENTER_BUILD_ID"
595
+ ],
596
+ [
597
+ "CODESANDBOX",
598
+ "CODESANDBOX_SSE",
599
+ {
600
+ ci: !1
601
+ }
602
+ ],
603
+ [
604
+ "CODESANDBOX",
605
+ "CODESANDBOX_HOST",
606
+ {
607
+ ci: !1
405
608
  }
609
+ ],
610
+ [
611
+ "STACKBLITZ"
612
+ ],
613
+ [
614
+ "STORMKIT"
615
+ ],
616
+ [
617
+ "CLEAVR"
618
+ ],
619
+ [
620
+ "ZEABUR"
621
+ ],
622
+ [
623
+ "CODESPHERE",
624
+ "CODESPHERE_APP_ID",
625
+ {
626
+ ci: !0
627
+ }
628
+ ],
629
+ [
630
+ "RAILWAY",
631
+ "RAILWAY_PROJECT_ID"
632
+ ],
633
+ [
634
+ "RAILWAY",
635
+ "RAILWAY_SERVICE_ID"
636
+ ],
637
+ [
638
+ "DENO-DEPLOY",
639
+ "DENO_DEPLOY"
640
+ ],
641
+ [
642
+ "DENO-DEPLOY",
643
+ "DENO_DEPLOYMENT_ID"
644
+ ],
645
+ [
646
+ "FIREBASE_APP_HOSTING",
647
+ "FIREBASE_APP_HOSTING",
648
+ {
649
+ ci: !0
650
+ }
651
+ ]
652
+ ]);
653
+ function dist_u() {
654
+ for (let t of dist_l)if (dist_e[t[1] || t[0]]) return {
655
+ name: t[0].toLowerCase(),
656
+ ...t[2]
657
+ };
658
+ return "/bin/jsh" === dist_e.SHELL && dist_t.versions?.webcontainer ? {
659
+ name: "stackblitz",
660
+ ci: !1
661
+ } : {
662
+ name: "",
663
+ ci: !1
664
+ };
665
+ }
666
+ const dist_d = dist_u(), dist_p = (dist_d.name, dist_t.platform || ""), dist_m = !!dist_e.CI || !1 !== dist_d.ci, dist_h = !!dist_t.stdout?.isTTY, dist_S = (dist_e.DEBUG, "test" === dist_n || dist_e.TEST, "production" === dist_n || dist_e.MODE, "dev" === dist_n || "development" === dist_n || dist_e.MODE, dist_e.MINIMAL, /^win/i.test(dist_p)), dist_E = (/^linux/i.test(dist_p), /^darwin/i.test(dist_p), !dist_e.NO_COLOR && (!!dist_e.FORCE_COLOR || (dist_h || dist_S) && dist_e.TERM), (dist_t.versions?.node || "").replace(/^v/, "") || null), dist_O = (Number(dist_E?.split(".")[0]), !!dist_t?.versions?.node), dist_k = "Bun" in globalThis, dist_A = "Deno" in globalThis, dist_j = "fastly" in globalThis, dist_M = "Netlify" in globalThis, dist_N = "EdgeRuntime" in globalThis, dist_P = globalThis.navigator?.userAgent === "Cloudflare-Workers", dist_F = [
667
+ [
668
+ dist_M,
669
+ "netlify"
670
+ ],
671
+ [
672
+ dist_N,
673
+ "edge-light"
674
+ ],
675
+ [
676
+ dist_P,
677
+ "workerd"
678
+ ],
679
+ [
680
+ dist_j,
681
+ "fastly"
682
+ ],
683
+ [
684
+ dist_A,
685
+ "deno"
686
+ ],
687
+ [
688
+ dist_k,
689
+ "bun"
690
+ ],
691
+ [
692
+ dist_O,
693
+ "node"
694
+ ]
695
+ ];
696
+ function dist_I() {
697
+ let e = dist_F.find((e)=>e[0]);
698
+ if (e) return {
699
+ name: e[1]
700
+ };
701
+ }
702
+ const dist_L = dist_I();
703
+ dist_L?.name;
704
+ function determineAgent() {
705
+ if ('1' === process.env.RSTEST_NO_AGENT) return {
706
+ isAgent: false,
707
+ agent: void 0
406
708
  };
407
- if (process.env.REPL_ID) return {
709
+ const agent = dist_a();
710
+ if (agent.name) return {
408
711
  isAgent: true,
409
712
  agent: {
410
- name: REPLIT
713
+ name: agent.name
411
714
  }
412
715
  };
413
716
  return {
@@ -999,4 +1302,4 @@ const logger_logger = {
999
1302
  console.error(message, ...args);
1000
1303
  }
1001
1304
  };
1002
- export { ADDITIONAL_NODE_BUILTINS, _path, basename, bgColor, castArray, clearScreen, color, determineAgent, dirname, formatError, formatRootStr, getAbsolutePath, getForceColorEnv, getTaskNameWithPrefix, isAbsolute, isDebug, isDeno, isObject, isTTY, join, logger_logger as logger, needFlagExperimentalDetectModule, node_process, normalize, parsePosix, prettyTime, relative, resolve, serializableConfig, stdin, stdout };
1305
+ export { ADDITIONAL_NODE_BUILTINS, _path, basename, bgColor, castArray, clearScreen, color, determineAgent, dirname, dist_m, formatError, formatRootStr, getAbsolutePath, getForceColorEnv, getTaskNameWithPrefix, isAbsolute, isDebug, isDeno, isObject, isTTY, join, logger_logger as logger, needFlagExperimentalDetectModule, normalize, parsePosix, prettyTime, relative, resolve, serializableConfig };
package/dist/7011.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "node:module";
2
- import { _path } from "./3160.js";
2
+ import { _path } from "./6830.js";
3
3
  const delimiter = /* @__PURE__ */ (()=>globalThis.process?.platform === "win32" ? ";" : ":")();
4
4
  const _platforms = {
5
5
  posix: void 0,
@@ -1,7 +1,8 @@
1
- /*! For license information please see 1294.js.LICENSE.txt */
1
+ /*! LICENSE: 7552.js.LICENSE.txt */
2
2
  import "node:module";
3
+ import * as __rspack_external_node_os_74b4b876 from "node:os";
4
+ import * as __rspack_external_node_tty_c64aab7e from "node:tty";
3
5
  import { __webpack_require__ } from "./rslib-runtime.js";
4
- import "./3160.js";
5
6
  __webpack_require__.add({
6
7
  "../../node_modules/.pnpm/@jest+diff-sequences@30.0.1/node_modules/@jest/diff-sequences/build/index.js" (module) {
7
8
  /*!
@@ -616,8 +617,7 @@ __webpack_require__.add({
616
617
  get: assembleStyles
617
618
  });
618
619
  },
619
- "../../node_modules/.pnpm/ansi-styles@5.2.0/node_modules/ansi-styles/index.js" (module, exports, __webpack_require__) {
620
- __webpack_require__.r(exports);
620
+ "../../node_modules/.pnpm/ansi-styles@5.2.0/node_modules/ansi-styles/index.js" (module, __unused_rspack_exports, __webpack_require__) {
621
621
  module = __webpack_require__.nmd(module);
622
622
  const ANSI_BACKGROUND_OFFSET = 10;
623
623
  const wrapAnsi256 = (offset = 0)=>(code)=>`\u001B[${38 + offset};5;${code}m`;
@@ -4820,8 +4820,8 @@ __webpack_require__.add({
4820
4820
  else module.exports = __webpack_require__("../../node_modules/.pnpm/react-is@18.3.1/node_modules/react-is/cjs/react-is.development.js");
4821
4821
  },
4822
4822
  "../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js" (module, __unused_rspack_exports, __webpack_require__) {
4823
- const os = __webpack_require__("node:os");
4824
- const tty = __webpack_require__("tty");
4823
+ const os = __webpack_require__("os?bcea");
4824
+ const tty = __webpack_require__("tty?6c51");
4825
4825
  const hasFlag = __webpack_require__("../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js");
4826
4826
  const { env } = process;
4827
4827
  let forceColor;
@@ -4885,24 +4885,30 @@ __webpack_require__.add({
4885
4885
  stdout: translateLevel(supportsColor(true, tty.isatty(1))),
4886
4886
  stderr: translateLevel(supportsColor(true, tty.isatty(2)))
4887
4887
  };
4888
+ },
4889
+ "os?bcea" (module) {
4890
+ module.exports = __rspack_external_node_os_74b4b876;
4891
+ },
4892
+ "tty?6c51" (module) {
4893
+ module.exports = __rspack_external_node_tty_c64aab7e;
4888
4894
  }
4889
4895
  });
4890
- const build_0 = __webpack_require__("../../node_modules/.pnpm/jest-diff@30.2.0/node_modules/jest-diff/build/index.js");
4891
- build_0.DIFF_DELETE;
4892
- build_0.DIFF_EQUAL;
4893
- build_0.DIFF_INSERT;
4894
- build_0.Diff;
4895
- const diff = build_0.diff;
4896
- build_0.diffLinesRaw;
4897
- build_0.diffLinesUnified;
4898
- build_0.diffLinesUnified2;
4899
- build_0.diffStringsRaw;
4900
- build_0.diffStringsUnified;
4901
- const build_1 = __webpack_require__("../../node_modules/.pnpm/pretty-format@30.2.0/node_modules/pretty-format/build/index.js");
4902
- build_1.DEFAULT_OPTIONS;
4903
- const format = build_1.format;
4904
- const plugins = build_1.plugins;
4905
- build_1["default"];
4896
+ const jest_diff_build = __webpack_require__("../../node_modules/.pnpm/jest-diff@30.2.0/node_modules/jest-diff/build/index.js");
4897
+ jest_diff_build.DIFF_DELETE;
4898
+ jest_diff_build.DIFF_EQUAL;
4899
+ jest_diff_build.DIFF_INSERT;
4900
+ jest_diff_build.Diff;
4901
+ const diff = jest_diff_build.diff;
4902
+ jest_diff_build.diffLinesRaw;
4903
+ jest_diff_build.diffLinesUnified;
4904
+ jest_diff_build.diffLinesUnified2;
4905
+ jest_diff_build.diffStringsRaw;
4906
+ jest_diff_build.diffStringsUnified;
4907
+ const pretty_format_build = __webpack_require__("../../node_modules/.pnpm/pretty-format@30.2.0/node_modules/pretty-format/build/index.js");
4908
+ pretty_format_build.DEFAULT_OPTIONS;
4909
+ const format = pretty_format_build.format;
4910
+ const plugins = pretty_format_build.plugins;
4911
+ pretty_format_build["default"];
4906
4912
  const REAL_TIMERS = {};
4907
4913
  const setRealTimers = ()=>{
4908
4914
  REAL_TIMERS.setTimeout ??= globalThis.setTimeout.bind(globalThis);
@@ -1,8 +1,8 @@
1
1
  import "node:module";
2
- import { createRequire } from "./4881.js";
3
- import { pathToFileURL } from "./6198.js";
4
- import "./1157.js";
5
- import { color } from "./3160.js";
2
+ import { createRequire } from "node:module";
3
+ import { pathToFileURL } from "node:url";
4
+ import "./4411.js";
5
+ import { color } from "./6830.js";
6
6
  const CoverageProviderMap = {
7
7
  istanbul: '@rstest/coverage-istanbul'
8
8
  };
@@ -36,4 +36,5 @@ async function createCoverageProvider(options, root) {
36
36
  }
37
37
  throw new Error(`Unknown coverage provider: ${options.provider}`);
38
38
  }
39
- export { createCoverageProvider, loadCoverageProvider };
39
+ var coverage_CoverageProviderMap = void 0;
40
+ export { coverage_CoverageProviderMap as CoverageProviderMap, createCoverageProvider, loadCoverageProvider };