@stacksjs/testing 0.58.72 → 0.58.73

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 (2) hide show
  1. package/dist/index.js +293 -251
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -27,7 +27,7 @@ var __export = (target, all) => {
27
27
  };
28
28
  var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
29
29
 
30
- // /home/runner/work/stacks/stacks/node_modules/pretty-format/node_modules/ansi-styles/index.js
30
+ // ../../../../node_modules/pretty-format/node_modules/ansi-styles/index.js
31
31
  var require_ansi_styles = __commonJS((exports, module) => {
32
32
  var assembleStyles = function() {
33
33
  const codes = new Map;
@@ -159,7 +159,7 @@ var require_ansi_styles = __commonJS((exports, module) => {
159
159
  });
160
160
  });
161
161
 
162
- // /home/runner/work/stacks/stacks/node_modules/pretty-format/build/collections.js
162
+ // ../../../../node_modules/pretty-format/build/collections.js
163
163
  var require_collections = __commonJS((exports) => {
164
164
  var printIteratorEntries = function(iterator, config, indentation, depth, refs, printer, separator = ": ") {
165
165
  let result = "";
@@ -279,7 +279,7 @@ var require_collections = __commonJS((exports) => {
279
279
  };
280
280
  });
281
281
 
282
- // /home/runner/work/stacks/stacks/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js
282
+ // ../../../../node_modules/pretty-format/build/plugins/AsymmetricMatcher.js
283
283
  var require_AsymmetricMatcher = __commonJS((exports) => {
284
284
  Object.defineProperty(exports, "__esModule", {
285
285
  value: true
@@ -325,7 +325,7 @@ var require_AsymmetricMatcher = __commonJS((exports) => {
325
325
  exports.default = _default;
326
326
  });
327
327
 
328
- // /home/runner/work/stacks/stacks/node_modules/pretty-format/build/plugins/DOMCollection.js
328
+ // ../../../../node_modules/pretty-format/build/plugins/DOMCollection.js
329
329
  var require_DOMCollection = __commonJS((exports) => {
330
330
  Object.defineProperty(exports, "__esModule", {
331
331
  value: true
@@ -360,7 +360,7 @@ var require_DOMCollection = __commonJS((exports) => {
360
360
  exports.default = _default;
361
361
  });
362
362
 
363
- // /home/runner/work/stacks/stacks/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
363
+ // ../../../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js
364
364
  var require_escapeHTML = __commonJS((exports) => {
365
365
  var escapeHTML = function(str) {
366
366
  return str.replace(/</g, "&lt;").replace(/>/g, "&gt;");
@@ -371,7 +371,7 @@ var require_escapeHTML = __commonJS((exports) => {
371
371
  exports.default = escapeHTML;
372
372
  });
373
373
 
374
- // /home/runner/work/stacks/stacks/node_modules/pretty-format/build/plugins/lib/markup.js
374
+ // ../../../../node_modules/pretty-format/build/plugins/lib/markup.js
375
375
  var require_markup = __commonJS((exports) => {
376
376
  var _interopRequireDefault = function(obj) {
377
377
  return obj && obj.__esModule ? obj : { default: obj };
@@ -421,7 +421,7 @@ var require_markup = __commonJS((exports) => {
421
421
  exports.printElementAsLeaf = printElementAsLeaf;
422
422
  });
423
423
 
424
- // /home/runner/work/stacks/stacks/node_modules/pretty-format/build/plugins/DOMElement.js
424
+ // ../../../../node_modules/pretty-format/build/plugins/DOMElement.js
425
425
  var require_DOMElement = __commonJS((exports) => {
426
426
  var nodeIsText = function(node) {
427
427
  return node.nodeType === TEXT_NODE;
@@ -482,7 +482,7 @@ var require_DOMElement = __commonJS((exports) => {
482
482
  exports.default = _default;
483
483
  });
484
484
 
485
- // /home/runner/work/stacks/stacks/node_modules/pretty-format/build/plugins/Immutable.js
485
+ // ../../../../node_modules/pretty-format/build/plugins/Immutable.js
486
486
  var require_Immutable = __commonJS((exports) => {
487
487
  var getRecordEntries = function(val) {
488
488
  let i = 0;
@@ -565,7 +565,7 @@ var require_Immutable = __commonJS((exports) => {
565
565
  exports.default = _default;
566
566
  });
567
567
 
568
- // /home/runner/work/stacks/stacks/node_modules/react-is/cjs/react-is.development.js
568
+ // ../../../../node_modules/react-is/cjs/react-is.development.js
569
569
  var require_react_is_development = __commonJS((exports) => {
570
570
  if (true) {
571
571
  (function() {
@@ -739,7 +739,7 @@ var require_react_is_development = __commonJS((exports) => {
739
739
  }
740
740
  });
741
741
 
742
- // /home/runner/work/stacks/stacks/node_modules/react-is/index.js
742
+ // ../../../../node_modules/react-is/index.js
743
743
  var require_react_is = __commonJS((exports, module) => {
744
744
  var react_is_development = __toESM(require_react_is_development(), 1);
745
745
  if (false) {
@@ -748,7 +748,7 @@ var require_react_is = __commonJS((exports, module) => {
748
748
  }
749
749
  });
750
750
 
751
- // /home/runner/work/stacks/stacks/node_modules/pretty-format/build/plugins/ReactElement.js
751
+ // ../../../../node_modules/pretty-format/build/plugins/ReactElement.js
752
752
  var require_ReactElement = __commonJS((exports) => {
753
753
  var import_react_is = __toESM(require_react_is(), 1);
754
754
  var _getRequireWildcardCache = function(nodeInterop) {
@@ -856,7 +856,7 @@ var require_ReactElement = __commonJS((exports) => {
856
856
  exports.default = _default;
857
857
  });
858
858
 
859
- // /home/runner/work/stacks/stacks/node_modules/pretty-format/build/plugins/ReactTestComponent.js
859
+ // ../../../../node_modules/pretty-format/build/plugins/ReactTestComponent.js
860
860
  var require_ReactTestComponent = __commonJS((exports) => {
861
861
  Object.defineProperty(exports, "__esModule", {
862
862
  value: true
@@ -881,7 +881,7 @@ var require_ReactTestComponent = __commonJS((exports) => {
881
881
  exports.default = _default;
882
882
  });
883
883
 
884
- // /home/runner/work/stacks/stacks/node_modules/pretty-format/build/index.js
884
+ // ../../../../node_modules/pretty-format/build/index.js
885
885
  var require_build = __commonJS((exports) => {
886
886
  var _interopRequireDefault = function(obj) {
887
887
  return obj && obj.__esModule ? obj : { default: obj };
@@ -1178,7 +1178,7 @@ var require_build = __commonJS((exports) => {
1178
1178
  exports.default = _default;
1179
1179
  });
1180
1180
 
1181
- // /home/runner/work/stacks/stacks/node_modules/get-func-name/index.js
1181
+ // ../../../../node_modules/get-func-name/index.js
1182
1182
  var require_get_func_name = __commonJS((exports, module) => {
1183
1183
  var getFuncName = function(aFunc) {
1184
1184
  if (typeof aFunc !== "function") {
@@ -1205,7 +1205,7 @@ var require_get_func_name = __commonJS((exports, module) => {
1205
1205
  module.exports = getFuncName;
1206
1206
  });
1207
1207
 
1208
- // /home/runner/work/stacks/stacks/node_modules/diff-sequences/build/index.js
1208
+ // ../../../../node_modules/diff-sequences/build/index.js
1209
1209
  var require_build2 = __commonJS((exports) => {
1210
1210
  var diffSequence = function(aLength, bLength, isCommon, foundSubsequence) {
1211
1211
  validateLength("aLength", aLength);
@@ -1550,7 +1550,7 @@ var require_build2 = __commonJS((exports) => {
1550
1550
  };
1551
1551
  });
1552
1552
 
1553
- // /home/runner/work/stacks/stacks/node_modules/assertion-error/index.js
1553
+ // ../../../../node_modules/assertion-error/index.js
1554
1554
  var require_assertion_error = __commonJS((exports, module) => {
1555
1555
  var exclude = function() {
1556
1556
  var excludes = [].slice.call(arguments);
@@ -1624,7 +1624,7 @@ var require_assertion_error = __commonJS((exports, module) => {
1624
1624
  };
1625
1625
  });
1626
1626
 
1627
- // /home/runner/work/stacks/stacks/node_modules/pathval/index.js
1627
+ // ../../../../node_modules/pathval/index.js
1628
1628
  var require_pathval = __commonJS((exports, module) => {
1629
1629
  var hasProperty = function(obj, name) {
1630
1630
  if (typeof obj === "undefined" || obj === null) {
@@ -1721,7 +1721,7 @@ var require_pathval = __commonJS((exports, module) => {
1721
1721
  };
1722
1722
  });
1723
1723
 
1724
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/utils/flag.js
1724
+ // ../../../../node_modules/chai/lib/chai/utils/flag.js
1725
1725
  var require_flag = __commonJS((exports, module) => {
1726
1726
  /*!
1727
1727
  * Chai - flag utility
@@ -1738,7 +1738,7 @@ var require_flag = __commonJS((exports, module) => {
1738
1738
  };
1739
1739
  });
1740
1740
 
1741
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/utils/test.js
1741
+ // ../../../../node_modules/chai/lib/chai/utils/test.js
1742
1742
  var require_test = __commonJS((exports, module) => {
1743
1743
  /*!
1744
1744
  * Chai - test utility
@@ -1755,7 +1755,7 @@ var require_test = __commonJS((exports, module) => {
1755
1755
  };
1756
1756
  });
1757
1757
 
1758
- // /home/runner/work/stacks/stacks/node_modules/type-detect/type-detect.js
1758
+ // ../../../../node_modules/type-detect/type-detect.js
1759
1759
  var require_type_detect = __commonJS((exports, module) => {
1760
1760
  (function(global2, factory) {
1761
1761
  typeof exports === "object" && typeof module !== "undefined" ? module.exports = factory() : typeof define === "function" && define.amd ? define(factory) : global2.typeDetect = factory();
@@ -1871,7 +1871,7 @@ var require_type_detect = __commonJS((exports, module) => {
1871
1871
  });
1872
1872
  });
1873
1873
 
1874
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/utils/expectTypes.js
1874
+ // ../../../../node_modules/chai/lib/chai/utils/expectTypes.js
1875
1875
  var require_expectTypes = __commonJS((exports, module) => {
1876
1876
  /*!
1877
1877
  * Chai - expectTypes utility
@@ -1904,7 +1904,7 @@ var require_expectTypes = __commonJS((exports, module) => {
1904
1904
  };
1905
1905
  });
1906
1906
 
1907
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/utils/getActual.js
1907
+ // ../../../../node_modules/chai/lib/chai/utils/getActual.js
1908
1908
  var require_getActual = __commonJS((exports, module) => {
1909
1909
  /*!
1910
1910
  * Chai - getActual utility
@@ -1916,7 +1916,7 @@ var require_getActual = __commonJS((exports, module) => {
1916
1916
  };
1917
1917
  });
1918
1918
 
1919
- // /home/runner/work/stacks/stacks/node_modules/loupe/loupe.js
1919
+ // ../../../../node_modules/loupe/loupe.js
1920
1920
  var require_loupe = __commonJS((exports, module) => {
1921
1921
  (function(global2, factory) {
1922
1922
  typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2.loupe = {}));
@@ -2587,7 +2587,7 @@ var require_loupe = __commonJS((exports, module) => {
2587
2587
  });
2588
2588
  });
2589
2589
 
2590
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/config.js
2590
+ // ../../../../node_modules/chai/lib/chai/config.js
2591
2591
  var require_config = __commonJS((exports, module) => {
2592
2592
  module.exports = {
2593
2593
  includeStack: false,
@@ -2599,7 +2599,7 @@ var require_config = __commonJS((exports, module) => {
2599
2599
  };
2600
2600
  });
2601
2601
 
2602
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/utils/inspect.js
2602
+ // ../../../../node_modules/chai/lib/chai/utils/inspect.js
2603
2603
  var require_inspect = __commonJS((exports, module) => {
2604
2604
  var inspect3 = function(obj, showHidden, depth, colors) {
2605
2605
  var options = {
@@ -2616,7 +2616,7 @@ var require_inspect = __commonJS((exports, module) => {
2616
2616
  module.exports = inspect3;
2617
2617
  });
2618
2618
 
2619
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/utils/objDisplay.js
2619
+ // ../../../../node_modules/chai/lib/chai/utils/objDisplay.js
2620
2620
  var require_objDisplay = __commonJS((exports, module) => {
2621
2621
  /*!
2622
2622
  * Chai - flag utility
@@ -2647,7 +2647,7 @@ var require_objDisplay = __commonJS((exports, module) => {
2647
2647
  };
2648
2648
  });
2649
2649
 
2650
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/utils/getMessage.js
2650
+ // ../../../../node_modules/chai/lib/chai/utils/getMessage.js
2651
2651
  var require_getMessage = __commonJS((exports, module) => {
2652
2652
  /*!
2653
2653
  * Chai - message composition utility
@@ -2676,7 +2676,7 @@ var require_getMessage = __commonJS((exports, module) => {
2676
2676
  };
2677
2677
  });
2678
2678
 
2679
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/utils/transferFlags.js
2679
+ // ../../../../node_modules/chai/lib/chai/utils/transferFlags.js
2680
2680
  var require_transferFlags = __commonJS((exports, module) => {
2681
2681
  /*!
2682
2682
  * Chai - transferFlags utility
@@ -2697,7 +2697,7 @@ var require_transferFlags = __commonJS((exports, module) => {
2697
2697
  };
2698
2698
  });
2699
2699
 
2700
- // /home/runner/work/stacks/stacks/node_modules/deep-eql/index.js
2700
+ // ../../../../node_modules/deep-eql/index.js
2701
2701
  var require_deep_eql = __commonJS((exports, module) => {
2702
2702
  var FakeMap2 = function() {
2703
2703
  this._key = "chai/deep-eql__" + Math.random() + Date.now();
@@ -3105,7 +3105,7 @@ var require_deep_eql = __commonJS((exports, module) => {
3105
3105
  */
3106
3106
  });
3107
3107
 
3108
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/utils/isProxyEnabled.js
3108
+ // ../../../../node_modules/chai/lib/chai/utils/isProxyEnabled.js
3109
3109
  var require_isProxyEnabled = __commonJS((exports, module) => {
3110
3110
  var config = require_config();
3111
3111
  /*!
@@ -3118,7 +3118,7 @@ var require_isProxyEnabled = __commonJS((exports, module) => {
3118
3118
  };
3119
3119
  });
3120
3120
 
3121
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/utils/addProperty.js
3121
+ // ../../../../node_modules/chai/lib/chai/utils/addProperty.js
3122
3122
  var require_addProperty = __commonJS((exports, module) => {
3123
3123
  /*!
3124
3124
  * Chai - addProperty utility
@@ -3149,7 +3149,7 @@ var require_addProperty = __commonJS((exports, module) => {
3149
3149
  };
3150
3150
  });
3151
3151
 
3152
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/utils/addLengthGuard.js
3152
+ // ../../../../node_modules/chai/lib/chai/utils/addLengthGuard.js
3153
3153
  var require_addLengthGuard = __commonJS((exports, module) => {
3154
3154
  var fnLengthDesc = Object.getOwnPropertyDescriptor(function() {
3155
3155
  }, "length");
@@ -3173,7 +3173,7 @@ var require_addLengthGuard = __commonJS((exports, module) => {
3173
3173
  };
3174
3174
  });
3175
3175
 
3176
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/utils/getProperties.js
3176
+ // ../../../../node_modules/chai/lib/chai/utils/getProperties.js
3177
3177
  var require_getProperties = __commonJS((exports, module) => {
3178
3178
  /*!
3179
3179
  * Chai - getProperties utility
@@ -3196,7 +3196,7 @@ var require_getProperties = __commonJS((exports, module) => {
3196
3196
  };
3197
3197
  });
3198
3198
 
3199
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/utils/proxify.js
3199
+ // ../../../../node_modules/chai/lib/chai/utils/proxify.js
3200
3200
  var require_proxify = __commonJS((exports, module) => {
3201
3201
  var stringDistanceCapped = function(strA, strB, cap) {
3202
3202
  if (Math.abs(strA.length - strB.length) >= cap) {
@@ -3267,7 +3267,7 @@ var require_proxify = __commonJS((exports, module) => {
3267
3267
  };
3268
3268
  });
3269
3269
 
3270
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/utils/addMethod.js
3270
+ // ../../../../node_modules/chai/lib/chai/utils/addMethod.js
3271
3271
  var require_addMethod = __commonJS((exports, module) => {
3272
3272
  /*!
3273
3273
  * Chai - addMethod utility
@@ -3296,7 +3296,7 @@ var require_addMethod = __commonJS((exports, module) => {
3296
3296
  };
3297
3297
  });
3298
3298
 
3299
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/utils/overwriteProperty.js
3299
+ // ../../../../node_modules/chai/lib/chai/utils/overwriteProperty.js
3300
3300
  var require_overwriteProperty = __commonJS((exports, module) => {
3301
3301
  /*!
3302
3302
  * Chai - overwriteProperty utility
@@ -3333,7 +3333,7 @@ var require_overwriteProperty = __commonJS((exports, module) => {
3333
3333
  };
3334
3334
  });
3335
3335
 
3336
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/utils/overwriteMethod.js
3336
+ // ../../../../node_modules/chai/lib/chai/utils/overwriteMethod.js
3337
3337
  var require_overwriteMethod = __commonJS((exports, module) => {
3338
3338
  /*!
3339
3339
  * Chai - overwriteMethod utility
@@ -3371,7 +3371,7 @@ var require_overwriteMethod = __commonJS((exports, module) => {
3371
3371
  };
3372
3372
  });
3373
3373
 
3374
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/utils/addChainableMethod.js
3374
+ // ../../../../node_modules/chai/lib/chai/utils/addChainableMethod.js
3375
3375
  var require_addChainableMethod = __commonJS((exports, module) => {
3376
3376
  /*!
3377
3377
  * Chai - addChainingMethod utility
@@ -3452,7 +3452,7 @@ var require_addChainableMethod = __commonJS((exports, module) => {
3452
3452
  };
3453
3453
  });
3454
3454
 
3455
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/utils/overwriteChainableMethod.js
3455
+ // ../../../../node_modules/chai/lib/chai/utils/overwriteChainableMethod.js
3456
3456
  var require_overwriteChainableMethod = __commonJS((exports, module) => {
3457
3457
  /*!
3458
3458
  * Chai - overwriteChainableMethod utility
@@ -3486,7 +3486,7 @@ var require_overwriteChainableMethod = __commonJS((exports, module) => {
3486
3486
  };
3487
3487
  });
3488
3488
 
3489
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/utils/compareByInspect.js
3489
+ // ../../../../node_modules/chai/lib/chai/utils/compareByInspect.js
3490
3490
  var require_compareByInspect = __commonJS((exports, module) => {
3491
3491
  /*!
3492
3492
  * Chai - compareByInspect utility
@@ -3502,7 +3502,7 @@ var require_compareByInspect = __commonJS((exports, module) => {
3502
3502
  };
3503
3503
  });
3504
3504
 
3505
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js
3505
+ // ../../../../node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js
3506
3506
  var require_getOwnEnumerablePropertySymbols = __commonJS((exports, module) => {
3507
3507
  /*!
3508
3508
  * Chai - getOwnEnumerablePropertySymbols utility
@@ -3518,7 +3518,7 @@ var require_getOwnEnumerablePropertySymbols = __commonJS((exports, module) => {
3518
3518
  };
3519
3519
  });
3520
3520
 
3521
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/utils/getOwnEnumerableProperties.js
3521
+ // ../../../../node_modules/chai/lib/chai/utils/getOwnEnumerableProperties.js
3522
3522
  var require_getOwnEnumerableProperties = __commonJS((exports, module) => {
3523
3523
  /*!
3524
3524
  * Chai - getOwnEnumerableProperties utility
@@ -3534,7 +3534,7 @@ var require_getOwnEnumerableProperties = __commonJS((exports, module) => {
3534
3534
  };
3535
3535
  });
3536
3536
 
3537
- // /home/runner/work/stacks/stacks/node_modules/check-error/index.js
3537
+ // ../../../../node_modules/check-error/index.js
3538
3538
  var require_check_error = __commonJS((exports, module) => {
3539
3539
  var compatibleInstance = function(thrown, errorLike) {
3540
3540
  return errorLike instanceof Error && thrown === errorLike;
@@ -3588,7 +3588,7 @@ var require_check_error = __commonJS((exports, module) => {
3588
3588
  };
3589
3589
  });
3590
3590
 
3591
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/utils/isNaN.js
3591
+ // ../../../../node_modules/chai/lib/chai/utils/isNaN.js
3592
3592
  var require_isNaN = __commonJS((exports, module) => {
3593
3593
  var isNaN3 = function(value) {
3594
3594
  return value !== value;
@@ -3601,7 +3601,7 @@ var require_isNaN = __commonJS((exports, module) => {
3601
3601
  module.exports = Number.isNaN || isNaN3;
3602
3602
  });
3603
3603
 
3604
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/utils/getOperator.js
3604
+ // ../../../../node_modules/chai/lib/chai/utils/getOperator.js
3605
3605
  var require_getOperator = __commonJS((exports, module) => {
3606
3606
  var isObjectType = function(obj) {
3607
3607
  var objectType = type(obj);
@@ -3635,7 +3635,7 @@ var require_getOperator = __commonJS((exports, module) => {
3635
3635
  };
3636
3636
  });
3637
3637
 
3638
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/utils/index.js
3638
+ // ../../../../node_modules/chai/lib/chai/utils/index.js
3639
3639
  var require_utils = __commonJS((exports) => {
3640
3640
  /*!
3641
3641
  * chai
@@ -3760,7 +3760,7 @@ var require_utils = __commonJS((exports) => {
3760
3760
  exports.getOperator = require_getOperator();
3761
3761
  });
3762
3762
 
3763
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/assertion.js
3763
+ // ../../../../node_modules/chai/lib/chai/assertion.js
3764
3764
  var require_assertion = __commonJS((exports, module) => {
3765
3765
  /*!
3766
3766
  * chai
@@ -3904,7 +3904,7 @@ var require_assertion = __commonJS((exports, module) => {
3904
3904
  };
3905
3905
  });
3906
3906
 
3907
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/core/assertions.js
3907
+ // ../../../../node_modules/chai/lib/chai/core/assertions.js
3908
3908
  var require_assertions = __commonJS((exports, module) => {
3909
3909
  /*!
3910
3910
  * chai
@@ -4798,7 +4798,7 @@ var require_assertions = __commonJS((exports, module) => {
4798
4798
  };
4799
4799
  });
4800
4800
 
4801
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/interface/expect.js
4801
+ // ../../../../node_modules/chai/lib/chai/interface/expect.js
4802
4802
  var require_expect = __commonJS((exports, module) => {
4803
4803
  /*!
4804
4804
  * chai
@@ -4824,7 +4824,7 @@ var require_expect = __commonJS((exports, module) => {
4824
4824
  };
4825
4825
  });
4826
4826
 
4827
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/interface/should.js
4827
+ // ../../../../node_modules/chai/lib/chai/interface/should.js
4828
4828
  var require_should = __commonJS((exports, module) => {
4829
4829
  /*!
4830
4830
  * chai
@@ -4894,7 +4894,7 @@ var require_should = __commonJS((exports, module) => {
4894
4894
  };
4895
4895
  });
4896
4896
 
4897
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai/interface/assert.js
4897
+ // ../../../../node_modules/chai/lib/chai/interface/assert.js
4898
4898
  var require_assert = __commonJS((exports, module) => {
4899
4899
  /*!
4900
4900
  * chai
@@ -5458,7 +5458,7 @@ var require_assert = __commonJS((exports, module) => {
5458
5458
  };
5459
5459
  });
5460
5460
 
5461
- // /home/runner/work/stacks/stacks/node_modules/chai/lib/chai.js
5461
+ // ../../../../node_modules/chai/lib/chai.js
5462
5462
  var require_chai = __commonJS((exports) => {
5463
5463
  /*!
5464
5464
  * chai
@@ -5521,7 +5521,7 @@ var require_chai = __commonJS((exports) => {
5521
5521
  exports.use(assert);
5522
5522
  });
5523
5523
 
5524
- // /home/runner/work/stacks/stacks/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
5524
+ // ../../../../node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
5525
5525
  var encode, encodeInteger, comma, semicolon, chars, intToChar, charToInt, td;
5526
5526
  var init_sourcemap_codec = __esm(() => {
5527
5527
  encode = function(decoded) {
@@ -5606,7 +5606,7 @@ var init_sourcemap_codec = __esm(() => {
5606
5606
  };
5607
5607
  });
5608
5608
 
5609
- // /home/runner/work/stacks/stacks/node_modules/magic-string/dist/magic-string.es.mjs
5609
+ // ../../../../node_modules/magic-string/dist/magic-string.es.mjs
5610
5610
  var exports_magic_string_es = {};
5611
5611
  __export(exports_magic_string_es, {
5612
5612
  default: () => {
@@ -6836,7 +6836,7 @@ var init_magic_string_es = __esm(() => {
6836
6836
  hasOwnProp = Object.prototype.hasOwnProperty;
6837
6837
  });
6838
6838
 
6839
- // /home/runner/work/stacks/stacks/node_modules/vitest/dist/index.js
6839
+ // ../../../../node_modules/vitest/dist/index.js
6840
6840
  var exports_dist2 = {};
6841
6841
  __export(exports_dist2, {
6842
6842
  vitest: () => {
@@ -6869,6 +6869,11 @@ __export(exports_dist2, {
6869
6869
  return runOnce;
6870
6870
  }
6871
6871
  },
6872
+ onTestFinished: () => {
6873
+ {
6874
+ return onTestFinished;
6875
+ }
6876
+ },
6872
6877
  onTestFailed: () => {
6873
6878
  {
6874
6879
  return onTestFailed;
@@ -6961,7 +6966,7 @@ __export(exports_dist2, {
6961
6966
  }
6962
6967
  });
6963
6968
 
6964
- // /home/runner/work/stacks/stacks/node_modules/yocto-queue/index.js
6969
+ // ../../../../node_modules/yocto-queue/index.js
6965
6970
  class Node2 {
6966
6971
  value;
6967
6972
  next;
@@ -7014,10 +7019,10 @@ class Queue {
7014
7019
  }
7015
7020
  }
7016
7021
 
7017
- // /home/runner/work/stacks/stacks/node_modules/p-limit/index.js
7022
+ // ../../../../node_modules/p-limit/index.js
7018
7023
  import {AsyncResource} from "dist/index.";
7019
7024
 
7020
- // /home/runner/work/stacks/stacks/node_modules/@vitest/utils/dist/helpers.js
7025
+ // ../../../../node_modules/@vitest/utils/dist/helpers.js
7021
7026
  var assertTypes = function(value, name, types) {
7022
7027
  const receivedType = typeof value;
7023
7028
  const pass = types.includes(receivedType);
@@ -7112,10 +7117,10 @@ var createDefer = function() {
7112
7117
  return p;
7113
7118
  };
7114
7119
  var defaultCloneOptions = { forceWritable: false };
7115
- // /home/runner/work/stacks/stacks/node_modules/@vitest/utils/dist/chunk-display.js
7120
+ // ../../../../node_modules/@vitest/utils/dist/chunk-display.js
7116
7121
  var import_pretty_format = __toESM(require_build(), 1);
7117
7122
 
7118
- // /home/runner/work/stacks/stacks/node_modules/loupe/lib/helpers.js
7123
+ // ../../../../node_modules/loupe/lib/helpers.js
7119
7124
  var colorise = function(value, styleType) {
7120
7125
  const color = ansiColors[styles[styleType]] || ansiColors[styleType];
7121
7126
  if (!color) {
@@ -7258,7 +7263,7 @@ var styles = {
7258
7263
  };
7259
7264
  var truncator = "\u2026";
7260
7265
 
7261
- // /home/runner/work/stacks/stacks/node_modules/loupe/lib/array.js
7266
+ // ../../../../node_modules/loupe/lib/array.js
7262
7267
  function inspectArray(array, options) {
7263
7268
  const nonIndexProperties = Object.keys(array).slice(array.length);
7264
7269
  if (!array.length && !nonIndexProperties.length)
@@ -7273,7 +7278,7 @@ function inspectArray(array, options) {
7273
7278
  return `[ ${listContents}${propertyContents ? `, ${propertyContents}` : ""} ]`;
7274
7279
  }
7275
7280
 
7276
- // /home/runner/work/stacks/stacks/node_modules/loupe/lib/typedarray.js
7281
+ // ../../../../node_modules/loupe/lib/typedarray.js
7277
7282
  var import_get_func_name = __toESM(require_get_func_name(), 1);
7278
7283
  var getArrayName = (array) => {
7279
7284
  if (typeof Buffer === "function" && array instanceof Buffer) {
@@ -7307,7 +7312,7 @@ function inspectTypedArray(array, options) {
7307
7312
  return `${name}[ ${output}${propertyContents ? `, ${propertyContents}` : ""} ]`;
7308
7313
  }
7309
7314
 
7310
- // /home/runner/work/stacks/stacks/node_modules/loupe/lib/date.js
7315
+ // ../../../../node_modules/loupe/lib/date.js
7311
7316
  function inspectDate(dateObject, options) {
7312
7317
  const stringRepresentation = dateObject.toJSON();
7313
7318
  if (stringRepresentation === null) {
@@ -7318,7 +7323,7 @@ function inspectDate(dateObject, options) {
7318
7323
  return options.stylize(`${date}T${truncate(split[1], options.truncate - date.length - 1)}`, "date");
7319
7324
  }
7320
7325
 
7321
- // /home/runner/work/stacks/stacks/node_modules/loupe/lib/function.js
7326
+ // ../../../../node_modules/loupe/lib/function.js
7322
7327
  var import_get_func_name2 = __toESM(require_get_func_name(), 1);
7323
7328
  function inspectFunction(func, options) {
7324
7329
  const name = import_get_func_name2.default(func);
@@ -7328,7 +7333,7 @@ function inspectFunction(func, options) {
7328
7333
  return options.stylize(`[Function ${truncate(name, options.truncate - 11)}]`, "special");
7329
7334
  }
7330
7335
 
7331
- // /home/runner/work/stacks/stacks/node_modules/loupe/lib/map.js
7336
+ // ../../../../node_modules/loupe/lib/map.js
7332
7337
  var inspectMapEntry = function([key, value], options) {
7333
7338
  options.truncate -= 4;
7334
7339
  key = options.inspect(key, options);
@@ -7352,7 +7357,7 @@ function inspectMap(map, options) {
7352
7357
  return `Map{ ${inspectList(mapToEntries(map), options, inspectMapEntry)} }`;
7353
7358
  }
7354
7359
 
7355
- // /home/runner/work/stacks/stacks/node_modules/loupe/lib/number.js
7360
+ // ../../../../node_modules/loupe/lib/number.js
7356
7361
  var isNaN2 = Number.isNaN || ((i) => i !== i);
7357
7362
  function inspectNumber(number, options) {
7358
7363
  if (isNaN2(number)) {
@@ -7370,7 +7375,7 @@ function inspectNumber(number, options) {
7370
7375
  return options.stylize(truncate(number, options.truncate), "number");
7371
7376
  }
7372
7377
 
7373
- // /home/runner/work/stacks/stacks/node_modules/loupe/lib/bigint.js
7378
+ // ../../../../node_modules/loupe/lib/bigint.js
7374
7379
  function inspectBigInt(number, options) {
7375
7380
  let nums = truncate(number.toString(), options.truncate - 1);
7376
7381
  if (nums !== truncator)
@@ -7378,7 +7383,7 @@ function inspectBigInt(number, options) {
7378
7383
  return options.stylize(nums, "bigint");
7379
7384
  }
7380
7385
 
7381
- // /home/runner/work/stacks/stacks/node_modules/loupe/lib/regexp.js
7386
+ // ../../../../node_modules/loupe/lib/regexp.js
7382
7387
  function inspectRegExp(value, options) {
7383
7388
  const flags = value.toString().split("/")[2];
7384
7389
  const sourceLength = options.truncate - (2 + flags.length);
@@ -7386,7 +7391,7 @@ function inspectRegExp(value, options) {
7386
7391
  return options.stylize(`/${truncate(source, sourceLength)}/${flags}`, "regexp");
7387
7392
  }
7388
7393
 
7389
- // /home/runner/work/stacks/stacks/node_modules/loupe/lib/set.js
7394
+ // ../../../../node_modules/loupe/lib/set.js
7390
7395
  var arrayFromSet = function(set) {
7391
7396
  const values = [];
7392
7397
  set.forEach((value) => {
@@ -7401,7 +7406,7 @@ function inspectSet(set, options) {
7401
7406
  return `Set{ ${inspectList(arrayFromSet(set), options)} }`;
7402
7407
  }
7403
7408
 
7404
- // /home/runner/work/stacks/stacks/node_modules/loupe/lib/string.js
7409
+ // ../../../../node_modules/loupe/lib/string.js
7405
7410
  var escape = function(char) {
7406
7411
  return escapeCharacters[char] || `\\u${`0000${char.charCodeAt(0).toString(hex)}`.slice(-unicodeLength)}`;
7407
7412
  };
@@ -7424,7 +7429,7 @@ function inspectString(string, options) {
7424
7429
  return options.stylize(`'${truncate(string, options.truncate - 2)}'`, "string");
7425
7430
  }
7426
7431
 
7427
- // /home/runner/work/stacks/stacks/node_modules/loupe/lib/symbol.js
7432
+ // ../../../../node_modules/loupe/lib/symbol.js
7428
7433
  function inspectSymbol(value) {
7429
7434
  if ("description" in Symbol.prototype) {
7430
7435
  return value.description ? `Symbol(${value.description})` : "Symbol()";
@@ -7432,7 +7437,7 @@ function inspectSymbol(value) {
7432
7437
  return value.toString();
7433
7438
  }
7434
7439
 
7435
- // /home/runner/work/stacks/stacks/node_modules/loupe/lib/promise.js
7440
+ // ../../../../node_modules/loupe/lib/promise.js
7436
7441
  var getPromiseValue = () => "Promise{\u2026}";
7437
7442
  try {
7438
7443
  const { getPromiseDetails, kPending, kRejected } = process.binding("util");
@@ -7449,10 +7454,10 @@ try {
7449
7454
  }
7450
7455
  var promise_default = getPromiseValue;
7451
7456
 
7452
- // /home/runner/work/stacks/stacks/node_modules/loupe/lib/class.js
7457
+ // ../../../../node_modules/loupe/lib/class.js
7453
7458
  var import_get_func_name3 = __toESM(require_get_func_name(), 1);
7454
7459
 
7455
- // /home/runner/work/stacks/stacks/node_modules/loupe/lib/object.js
7460
+ // ../../../../node_modules/loupe/lib/object.js
7456
7461
  function inspectObject(object, options) {
7457
7462
  const properties = Object.getOwnPropertyNames(object);
7458
7463
  const symbols = Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(object) : [];
@@ -7475,7 +7480,7 @@ function inspectObject(object, options) {
7475
7480
  return `{ ${propertyContents}${sep}${symbolContents} }`;
7476
7481
  }
7477
7482
 
7478
- // /home/runner/work/stacks/stacks/node_modules/loupe/lib/class.js
7483
+ // ../../../../node_modules/loupe/lib/class.js
7479
7484
  var toStringTag = typeof Symbol !== "undefined" && Symbol.toStringTag ? Symbol.toStringTag : false;
7480
7485
  function inspectClass(value, options) {
7481
7486
  let name = "";
@@ -7490,7 +7495,7 @@ function inspectClass(value, options) {
7490
7495
  return `${name}${inspectObject(value, options)}`;
7491
7496
  }
7492
7497
 
7493
- // /home/runner/work/stacks/stacks/node_modules/loupe/lib/arguments.js
7498
+ // ../../../../node_modules/loupe/lib/arguments.js
7494
7499
  function inspectArguments(args, options) {
7495
7500
  if (args.length === 0)
7496
7501
  return "Arguments[]";
@@ -7498,7 +7503,7 @@ function inspectArguments(args, options) {
7498
7503
  return `Arguments[ ${inspectList(args, options)} ]`;
7499
7504
  }
7500
7505
 
7501
- // /home/runner/work/stacks/stacks/node_modules/loupe/lib/error.js
7506
+ // ../../../../node_modules/loupe/lib/error.js
7502
7507
  var errorKeys = [
7503
7508
  "stack",
7504
7509
  "line",
@@ -7527,7 +7532,7 @@ function inspectObject2(error, options) {
7527
7532
  return `${name}${message}${propertyContents ? ` { ${propertyContents} }` : ""}`;
7528
7533
  }
7529
7534
 
7530
- // /home/runner/work/stacks/stacks/node_modules/loupe/lib/html.js
7535
+ // ../../../../node_modules/loupe/lib/html.js
7531
7536
  function inspectAttribute([key, value], options) {
7532
7537
  options.truncate -= 3;
7533
7538
  if (!value) {
@@ -7559,7 +7564,7 @@ function inspectHTML(element, options) {
7559
7564
  return `${head}${propertyContents}${headClose}${children}${tail}`;
7560
7565
  }
7561
7566
 
7562
- // /home/runner/work/stacks/stacks/node_modules/loupe/index.js
7567
+ // ../../../../node_modules/loupe/index.js
7563
7568
  var FakeMap = function() {
7564
7569
  this.key = "chai/loupe__" + Math.random() + Date.now();
7565
7570
  };
@@ -7687,7 +7692,7 @@ var inspectCustom = (value, options, type) => {
7687
7692
  };
7688
7693
  var toString = Object.prototype.toString;
7689
7694
 
7690
- // /home/runner/work/stacks/stacks/node_modules/@vitest/utils/dist/chunk-display.js
7695
+ // ../../../../node_modules/@vitest/utils/dist/chunk-display.js
7691
7696
  var stringify = function(object3, maxDepth = 10, { maxLength, ...options } = {}) {
7692
7697
  const MAX_LENGTH = maxLength ?? 1e4;
7693
7698
  let result;
@@ -7821,7 +7826,7 @@ var PLUGINS = [
7821
7826
  AsymmetricMatcher
7822
7827
  ];
7823
7828
  var formatRegExp = /%[sdjifoOcj%]/g;
7824
- // /home/runner/work/stacks/stacks/node_modules/@vitest/utils/dist/chunk-colors.js
7829
+ // ../../../../node_modules/@vitest/utils/dist/chunk-colors.js
7825
7830
  var string2 = function(str) {
7826
7831
  return String(str);
7827
7832
  };
@@ -7864,7 +7869,7 @@ var defaultColors = colorsEntries.reduce((acc, [key]) => {
7864
7869
  return acc;
7865
7870
  }, { isColorSupported: false });
7866
7871
 
7867
- // /home/runner/work/stacks/stacks/node_modules/@vitest/utils/dist/index.js
7872
+ // ../../../../node_modules/@vitest/utils/dist/index.js
7868
7873
  var import_pretty_format2 = __toESM(require_build(), 1);
7869
7874
  var getSafeTimers = function() {
7870
7875
  const {
@@ -7991,7 +7996,7 @@ var reservedWords = {
7991
7996
  var keywords = new Set(reservedWords.keyword);
7992
7997
  var reservedWordsStrictSet = new Set(reservedWords.strict);
7993
7998
 
7994
- // /home/runner/work/stacks/stacks/node_modules/@vitest/utils/dist/diff.js
7999
+ // ../../../../node_modules/@vitest/utils/dist/diff.js
7995
8000
  var import_pretty_format3 = __toESM(require_build(), 1);
7996
8001
  var diff$1 = __toESM(require_build2(), 1);
7997
8002
  var getType2 = function(value) {
@@ -8486,7 +8491,7 @@ var FALLBACK_FORMAT_OPTIONS = {
8486
8491
  plugins: PLUGINS2
8487
8492
  };
8488
8493
 
8489
- // /home/runner/work/stacks/stacks/node_modules/@vitest/utils/dist/error.js
8494
+ // ../../../../node_modules/@vitest/utils/dist/error.js
8490
8495
  var import_pretty_format4 = __toESM(require_build(), 1);
8491
8496
  var import_diff_sequences = __toESM(require_build2(), 1);
8492
8497
  var isImmutable = function(v) {
@@ -8590,7 +8595,7 @@ var isAsymmetricMatcher = function(data) {
8590
8595
  var isReplaceable = function(obj1, obj2) {
8591
8596
  const obj1Type = getType(obj1);
8592
8597
  const obj2Type = getType(obj2);
8593
- return obj1Type === obj2Type && obj1Type === "Object";
8598
+ return obj1Type === obj2Type && (obj1Type === "Object" || obj1Type === "Array");
8594
8599
  };
8595
8600
  var replaceAsymmetricMatcher = function(actual, expected, actualReplaced = new WeakSet, expectedReplaced = new WeakSet) {
8596
8601
  if (!isReplaceable(actual, expected))
@@ -8623,7 +8628,7 @@ var IS_RECORD_SYMBOL = "@@__IMMUTABLE_RECORD__@@";
8623
8628
  var IS_COLLECTION_SYMBOL = "@@__IMMUTABLE_ITERABLE__@@";
8624
8629
  var OBJECT_PROTO = Object.getPrototypeOf({});
8625
8630
 
8626
- // /home/runner/work/stacks/stacks/node_modules/@vitest/runner/dist/utils.js
8631
+ // ../../../../node_modules/@vitest/runner/dist/chunk-tasks.js
8627
8632
  var createChainable = function(keys, fn) {
8628
8633
  function create(context) {
8629
8634
  const chain2 = function(...args) {
@@ -8661,7 +8666,7 @@ var getNames = function(task) {
8661
8666
  return names;
8662
8667
  };
8663
8668
 
8664
- // /home/runner/work/stacks/stacks/node_modules/pathe/dist/shared/pathe.ff20891b.mjs
8669
+ // ../../../../node_modules/pathe/dist/shared/pathe.ff20891b.mjs
8665
8670
  var normalizeWindowsPath = function(input = "") {
8666
8671
  if (!input) {
8667
8672
  return input;
@@ -8758,7 +8763,7 @@ var resolve = function(...arguments_) {
8758
8763
  var isAbsolute = function(p) {
8759
8764
  return _IS_ABSOLUTE_RE.test(p);
8760
8765
  };
8761
- // /home/runner/work/stacks/stacks/node_modules/@vitest/runner/dist/index.js
8766
+ // ../../../../node_modules/@vitest/runner/dist/index.js
8762
8767
  var setFn = function(key, fn) {
8763
8768
  fnMap.set(key, fn);
8764
8769
  };
@@ -8813,6 +8818,10 @@ var createTestContext = function(test, runner) {
8813
8818
  test.onFailed || (test.onFailed = []);
8814
8819
  test.onFailed.push(fn);
8815
8820
  };
8821
+ context.onTestFinished = (fn) => {
8822
+ test.onFinished || (test.onFinished = []);
8823
+ test.onFinished.push(fn);
8824
+ };
8816
8825
  return ((_a = runner.extendTaskContext) == null ? undefined : _a.call(runner, context)) || context;
8817
8826
  };
8818
8827
  var makeTimeoutMsg = function(isHook, timeout) {
@@ -8820,14 +8829,16 @@ var makeTimeoutMsg = function(isHook, timeout) {
8820
8829
  If this is a long-running ${isHook ? "hook" : "test"}, pass a timeout value as the last argument or configure it globally with "${isHook ? "hookTimeout" : "testTimeout"}".`;
8821
8830
  };
8822
8831
  var mergeContextFixtures = function(fixtures, context = {}) {
8823
- const fixtureArray = Object.entries(fixtures).map(([prop, value], index) => {
8824
- const isFn = typeof value === "function";
8825
- return {
8826
- prop,
8827
- value,
8828
- index,
8829
- isFn
8830
- };
8832
+ const fixtureOptionKeys = ["auto"];
8833
+ const fixtureArray = Object.entries(fixtures).map(([prop, value]) => {
8834
+ const fixtureItem = { value };
8835
+ if (Array.isArray(value) && value.length >= 2 && isObject(value[1]) && Object.keys(value[1]).some((key) => fixtureOptionKeys.includes(key))) {
8836
+ Object.assign(fixtureItem, value[1]);
8837
+ fixtureItem.value = value[0];
8838
+ }
8839
+ fixtureItem.prop = prop;
8840
+ fixtureItem.isFn = typeof fixtureItem.value === "function";
8841
+ return fixtureItem;
8831
8842
  });
8832
8843
  if (Array.isArray(context.fixtures))
8833
8844
  context.fixtures = context.fixtures.concat(fixtureArray);
@@ -8851,7 +8862,8 @@ var withFixtures = function(fn, testContext) {
8851
8862
  if (!(fixtures == null ? undefined : fixtures.length))
8852
8863
  return fn(context);
8853
8864
  const usedProps = getUsedProps(fn);
8854
- if (!usedProps.length)
8865
+ const hasAutoFixture = fixtures.some(({ auto }) => auto);
8866
+ if (!usedProps.length && !hasAutoFixture)
8855
8867
  return fn(context);
8856
8868
  if (!fixtureValueMaps.get(context))
8857
8869
  fixtureValueMaps.set(context, new Map);
@@ -8859,7 +8871,7 @@ var withFixtures = function(fn, testContext) {
8859
8871
  if (!cleanupFnArrayMap.has(context))
8860
8872
  cleanupFnArrayMap.set(context, []);
8861
8873
  const cleanupFnArray = cleanupFnArrayMap.get(context);
8862
- const usedFixtures = fixtures.filter(({ prop }) => usedProps.includes(prop));
8874
+ const usedFixtures = fixtures.filter(({ prop, auto }) => auto || usedProps.includes(prop));
8863
8875
  const pendingFixtures = resolveDeps(usedFixtures);
8864
8876
  if (!pendingFixtures.length)
8865
8877
  return fn(context);
@@ -8973,8 +8985,33 @@ var createSuiteHooks = function() {
8973
8985
  afterEach: []
8974
8986
  };
8975
8987
  };
8988
+ var parseArguments = function(optionsOrFn, optionsOrTest) {
8989
+ let options = {};
8990
+ let fn = () => {
8991
+ };
8992
+ if (typeof optionsOrTest === "object") {
8993
+ if (typeof optionsOrFn === "object")
8994
+ throw new TypeError("Cannot use two objects as arguments. Please provide options and a function callback in that order.");
8995
+ options = optionsOrTest;
8996
+ } else if (typeof optionsOrTest === "number") {
8997
+ options = { timeout: optionsOrTest };
8998
+ } else if (typeof optionsOrFn === "object") {
8999
+ options = optionsOrFn;
9000
+ }
9001
+ if (typeof optionsOrFn === "function") {
9002
+ if (typeof optionsOrTest === "function")
9003
+ throw new TypeError("Cannot use two functions as arguments. Please use the second argument for options.");
9004
+ fn = optionsOrFn;
9005
+ } else if (typeof optionsOrTest === "function") {
9006
+ fn = optionsOrTest;
9007
+ }
9008
+ return {
9009
+ options,
9010
+ handler: fn
9011
+ };
9012
+ };
8976
9013
  var createSuiteCollector = function(name, factory = () => {
8977
- }, mode, concurrent, sequential, shuffle2, each, suiteOptions) {
9014
+ }, mode, shuffle2, each, suiteOptions) {
8978
9015
  const tasks = [];
8979
9016
  const factoryQueue = [];
8980
9017
  let suite2;
@@ -9010,14 +9047,13 @@ var createSuiteCollector = function(name, factory = () => {
9010
9047
  tasks.push(task2);
9011
9048
  return task2;
9012
9049
  };
9013
- const test2 = createTest(function(name2, fn = noop, options = {}) {
9014
- if (typeof options === "number")
9015
- options = { timeout: options };
9050
+ const test2 = createTest(function(name2, optionsOrFn, optionsOrTest) {
9051
+ let { options, handler } = parseArguments(optionsOrFn, optionsOrTest);
9016
9052
  if (typeof suiteOptions === "object")
9017
9053
  options = Object.assign({}, suiteOptions, options);
9018
9054
  options.concurrent = this.concurrent || !this.sequential && (options == null ? undefined : options.concurrent);
9019
9055
  options.sequential = this.sequential || !this.concurrent && (options == null ? undefined : options.sequential);
9020
- const test3 = task(formatName(name2), { ...this, ...options, handler: fn });
9056
+ const test3 = task(formatName(name2), { ...this, ...options, handler });
9021
9057
  test3.type = "test";
9022
9058
  });
9023
9059
  const collector = {
@@ -9076,28 +9112,28 @@ var createSuiteCollector = function(name, factory = () => {
9076
9112
  return collector;
9077
9113
  };
9078
9114
  var createSuite = function() {
9079
- function suiteFn(name, factory, options = {}) {
9115
+ function suiteFn(name, factoryOrOptions, optionsOrFactory = {}) {
9080
9116
  const mode = this.only ? "only" : this.skip ? "skip" : this.todo ? "todo" : "run";
9081
9117
  const currentSuite = getCurrentSuite();
9082
- if (typeof options === "number")
9083
- options = { timeout: options };
9118
+ let { options, handler: factory } = parseArguments(factoryOrOptions, optionsOrFactory);
9084
9119
  if (currentSuite == null ? undefined : currentSuite.options)
9085
9120
  options = { ...currentSuite.options, ...options };
9086
9121
  options.concurrent = this.concurrent || !this.sequential && (options == null ? undefined : options.concurrent);
9087
9122
  options.sequential = this.sequential || !this.concurrent && (options == null ? undefined : options.sequential);
9088
- return createSuiteCollector(formatName(name), factory, mode, this.concurrent, this.sequential, this.shuffle, this.each, options);
9123
+ return createSuiteCollector(formatName(name), factory, mode, this.shuffle, this.each, options);
9089
9124
  }
9090
9125
  suiteFn.each = function(cases, ...args) {
9091
9126
  const suite2 = this.withContext();
9092
9127
  this.setContext("each", true);
9093
9128
  if (Array.isArray(cases) && args.length)
9094
9129
  cases = formatTemplateString(cases, args);
9095
- return (name, fn, options) => {
9130
+ return (name, optionsOrFn, fnOrOptions) => {
9096
9131
  const _name = formatName(name);
9097
9132
  const arrayOnlyCases = cases.every(Array.isArray);
9133
+ const { options, handler } = parseArguments(optionsOrFn, fnOrOptions);
9098
9134
  cases.forEach((i, idx) => {
9099
9135
  const items = Array.isArray(i) ? i : [i];
9100
- arrayOnlyCases ? suite2(formatTitle(_name, items, idx), () => fn(...items), options) : suite2(formatTitle(_name, items, idx), () => fn(i), options);
9136
+ arrayOnlyCases ? suite2(formatTitle(_name, items, idx), options, () => handler(...items)) : suite2(formatTitle(_name, items, idx), options, () => handler(i));
9101
9137
  });
9102
9138
  this.setContext("each", undefined);
9103
9139
  };
@@ -9113,12 +9149,13 @@ var createTaskCollector = function(fn, context) {
9113
9149
  this.setContext("each", true);
9114
9150
  if (Array.isArray(cases) && args.length)
9115
9151
  cases = formatTemplateString(cases, args);
9116
- return (name, fn2, options) => {
9152
+ return (name, optionsOrFn, fnOrOptions) => {
9117
9153
  const _name = formatName(name);
9118
9154
  const arrayOnlyCases = cases.every(Array.isArray);
9155
+ const { options, handler } = parseArguments(optionsOrFn, fnOrOptions);
9119
9156
  cases.forEach((i, idx) => {
9120
9157
  const items = Array.isArray(i) ? i : [i];
9121
- arrayOnlyCases ? test2(formatTitle(_name, items, idx), () => fn2(...items), options) : test2(formatTitle(_name, items, idx), () => fn2(i), options);
9158
+ arrayOnlyCases ? test2(formatTitle(_name, items, idx), options, () => handler(...items)) : test2(formatTitle(_name, items, idx), options, () => handler(i));
9122
9159
  });
9123
9160
  this.setContext("each", undefined);
9124
9161
  };
@@ -9131,8 +9168,8 @@ var createTaskCollector = function(fn, context) {
9131
9168
  };
9132
9169
  taskFn.extend = function(fixtures) {
9133
9170
  const _context = mergeContextFixtures(fixtures, context);
9134
- return createTest(function fn2(name, fn2, options) {
9135
- getCurrentSuite().test.fn.call(this, formatName(name), fn2, options);
9171
+ return createTest(function fn2(name, optionsOrFn, optionsOrTest) {
9172
+ getCurrentSuite().test.fn.call(this, formatName(name), optionsOrFn, optionsOrTest);
9136
9173
  }, _context);
9137
9174
  };
9138
9175
  const _test = createChainable(["concurrent", "sequential", "skip", "only", "todo", "fails"], taskFn);
@@ -9191,7 +9228,7 @@ var createTestHook = function(name, handler) {
9191
9228
  const current = getCurrentTest();
9192
9229
  if (!current)
9193
9230
  throw new Error(`Hook ${name}() can only be called inside a test`);
9194
- handler(current, fn);
9231
+ return handler(current, fn);
9195
9232
  };
9196
9233
  };
9197
9234
  var fnMap = new WeakMap;
@@ -9215,10 +9252,10 @@ var fixtureValueMaps = new Map;
9215
9252
  var cleanupFnArrayMap = new Map;
9216
9253
  var _test;
9217
9254
  var suite = createSuite();
9218
- var test = createTest(function(name, fn, options) {
9255
+ var test = createTest(function(name, optionsOrFn, optionsOrTest) {
9219
9256
  if (getCurrentTest())
9220
9257
  throw new Error('Calling the test function inside another test function is not allowed. Please put it inside "describe" or "suite" so it can be properly collected.');
9221
- getCurrentSuite().test.fn.call(this, formatName(name), fn, options);
9258
+ getCurrentSuite().test.fn.call(this, formatName(name), optionsOrFn, optionsOrTest);
9222
9259
  });
9223
9260
  var describe = suite;
9224
9261
  var it = test;
@@ -9230,7 +9267,11 @@ var onTestFailed = createTestHook("onTestFailed", (test2, handler) => {
9230
9267
  test2.onFailed || (test2.onFailed = []);
9231
9268
  test2.onFailed.push(handler);
9232
9269
  });
9233
- // /home/runner/work/stacks/stacks/node_modules/vitest/dist/vendor/global.CkGT_TMy.js
9270
+ var onTestFinished = createTestHook("onTestFinished", (test2, handler) => {
9271
+ test2.onFinished || (test2.onFinished = []);
9272
+ test2.onFinished.push(handler);
9273
+ });
9274
+ // ../../../../node_modules/vitest/dist/vendor/global.CkGT_TMy.js
9234
9275
  var getWorkerState = function() {
9235
9276
  const workerState = globalThis.__vitest_worker__;
9236
9277
  if (!workerState) {
@@ -9244,7 +9285,7 @@ var getCurrentEnvironment = function() {
9244
9285
  return state == null ? undefined : state.environment.name;
9245
9286
  };
9246
9287
 
9247
- // /home/runner/work/stacks/stacks/node_modules/vitest/dist/vendor/index.rJjbcrrp.js
9288
+ // ../../../../node_modules/vitest/dist/vendor/index.ir9i0ywP.js
9248
9289
  var getRunMode = function() {
9249
9290
  return getWorkerState().config.mode;
9250
9291
  };
@@ -9255,7 +9296,7 @@ var _a;
9255
9296
  var isNode = typeof process < "u" && typeof process.stdout < "u" && !((_a = process.versions) == null ? undefined : _a.deno) && !globalThis.window;
9256
9297
  var isWindows = isNode && process.platform === "win32";
9257
9298
 
9258
- // /home/runner/work/stacks/stacks/node_modules/vitest/dist/vendor/benchmark.IlKmJkUU.js
9299
+ // ../../../../node_modules/vitest/dist/vendor/benchmark.eeqk2rd8.js
9259
9300
  var createBenchmark = function(fn) {
9260
9301
  const benchmark = createChainable(["skip", "only", "todo"], fn);
9261
9302
  benchmark.skipIf = (condition) => condition ? benchmark.skip : benchmark;
@@ -9280,7 +9321,7 @@ var bench = createBenchmark(function(name, fn = noop, options = {}) {
9280
9321
  benchOptsMap.set(task, options);
9281
9322
  });
9282
9323
 
9283
- // /home/runner/work/stacks/stacks/node_modules/vitest/dist/vendor/run-once.Olz_Zkd8.js
9324
+ // ../../../../node_modules/vitest/dist/vendor/run-once.Olz_Zkd8.js
9284
9325
  var runOnce = function(fn, key) {
9285
9326
  const filepath = getWorkerState().filepath || "__unknown_files__";
9286
9327
  if (!key) {
@@ -9302,7 +9343,7 @@ var isFirstRun = function() {
9302
9343
  var filesCount = new Map;
9303
9344
  var cache = new Map;
9304
9345
 
9305
- // /home/runner/work/stacks/stacks/node_modules/chai/index.mjs
9346
+ // ../../../../node_modules/chai/index.mjs
9306
9347
  var exports_chai = {};
9307
9348
  __export(exports_chai, {
9308
9349
  version: () => {
@@ -9374,13 +9415,13 @@ var assert = import_.default.assert;
9374
9415
  var core = import_.default.core;
9375
9416
  var chai_default = import_.default;
9376
9417
 
9377
- // /home/runner/work/stacks/stacks/node_modules/vitest/dist/vendor/_commonjsHelpers.jjO7Zipk.js
9418
+ // ../../../../node_modules/vitest/dist/vendor/_commonjsHelpers.jjO7Zipk.js
9378
9419
  var getDefaultExportFromCjs = function(x) {
9379
9420
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
9380
9421
  };
9381
9422
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
9382
9423
 
9383
- // /home/runner/work/stacks/stacks/node_modules/tinyspy/dist/index.js
9424
+ // ../../../../node_modules/tinyspy/dist/index.js
9384
9425
  var R = function(e, t) {
9385
9426
  if (!e)
9386
9427
  throw new Error(t);
@@ -9471,7 +9512,7 @@ var P = (e, t) => {
9471
9512
  t != null && typeof t == "function" && t.prototype != null && Object.setPrototypeOf(e.prototype, t.prototype);
9472
9513
  };
9473
9514
 
9474
- // /home/runner/work/stacks/stacks/node_modules/@vitest/spy/dist/index.js
9515
+ // ../../../../node_modules/@vitest/spy/dist/index.js
9475
9516
  var isMockFunction = function(fn2) {
9476
9517
  return typeof fn2 === "function" && "_isMockFunction" in fn2 && fn2._isMockFunction;
9477
9518
  };
@@ -9601,7 +9642,7 @@ var fn = function(implementation) {
9601
9642
  var mocks = new Set;
9602
9643
  var callOrder = 0;
9603
9644
 
9604
- // /home/runner/work/stacks/stacks/node_modules/@vitest/expect/dist/index.js
9645
+ // ../../../../node_modules/@vitest/expect/dist/index.js
9605
9646
  var getState = function(expect2) {
9606
9647
  return globalThis[MATCHERS_OBJECT].get(expect2);
9607
9648
  };
@@ -9973,10 +10014,10 @@ var recordAsyncExpect = function(test2, promise2) {
9973
10014
  }
9974
10015
  return promise2;
9975
10016
  };
9976
- var wrapSoft = function(utils7, fn2) {
10017
+ var wrapSoft = function(utils6, fn2) {
9977
10018
  return function(...args) {
9978
10019
  var _a2;
9979
- const test2 = utils7.flag(this, "vitest-test");
10020
+ const test2 = utils6.flag(this, "vitest-test");
9980
10021
  const state = (test2 == null ? undefined : test2.context._local) ? test2.context.expect.getState() : getState(globalThis[GLOBAL_EXPECT]);
9981
10022
  if (!state.soft)
9982
10023
  return fn2.apply(this, args);
@@ -10019,7 +10060,7 @@ var getMatcherState = function(assertion, expect2) {
10019
10060
  };
10020
10061
  };
10021
10062
  var JestExtendPlugin = function(expect2, matchers) {
10022
- return (c2, utils7) => {
10063
+ return (c2, utils6) => {
10023
10064
  Object.entries(matchers).forEach(([expectAssertionName, expectAssertion]) => {
10024
10065
  function expectWrapper(...args) {
10025
10066
  const { state, isNot, obj } = getMatcherState(this, expect2);
@@ -10034,9 +10075,9 @@ var JestExtendPlugin = function(expect2, matchers) {
10034
10075
  if (pass && isNot || !pass && !isNot)
10035
10076
  throw new JestExtendError(message(), actual, expected);
10036
10077
  }
10037
- const softWrapper = wrapSoft(utils7, expectWrapper);
10038
- utils7.addMethod(globalThis[JEST_MATCHERS_OBJECT].matchers, expectAssertionName, softWrapper);
10039
- utils7.addMethod(c2.Assertion.prototype, expectAssertionName, softWrapper);
10078
+ const softWrapper = wrapSoft(utils6, expectWrapper);
10079
+ utils6.addMethod(globalThis[JEST_MATCHERS_OBJECT].matchers, expectAssertionName, softWrapper);
10080
+ utils6.addMethod(c2.Assertion.prototype, expectAssertionName, softWrapper);
10040
10081
 
10041
10082
  class CustomMatcher extends AsymmetricMatcher3 {
10042
10083
  constructor(inverse = false, ...sample) {
@@ -10335,14 +10376,14 @@ class CloseTo extends AsymmetricMatcher3 {
10335
10376
  ].join(" ");
10336
10377
  }
10337
10378
  }
10338
- var JestAsymmetricMatchers = (chai3, utils7) => {
10339
- utils7.addMethod(chai3.expect, "anything", () => new Anything);
10340
- utils7.addMethod(chai3.expect, "any", (expected) => new Any(expected));
10341
- utils7.addMethod(chai3.expect, "stringContaining", (expected) => new StringContaining(expected));
10342
- utils7.addMethod(chai3.expect, "objectContaining", (expected) => new ObjectContaining(expected));
10343
- utils7.addMethod(chai3.expect, "arrayContaining", (expected) => new ArrayContaining(expected));
10344
- utils7.addMethod(chai3.expect, "stringMatching", (expected) => new StringMatching(expected));
10345
- utils7.addMethod(chai3.expect, "closeTo", (expected, precision) => new CloseTo(expected, precision));
10379
+ var JestAsymmetricMatchers = (chai3, utils6) => {
10380
+ utils6.addMethod(chai3.expect, "anything", () => new Anything);
10381
+ utils6.addMethod(chai3.expect, "any", (expected) => new Any(expected));
10382
+ utils6.addMethod(chai3.expect, "stringContaining", (expected) => new StringContaining(expected));
10383
+ utils6.addMethod(chai3.expect, "objectContaining", (expected) => new ObjectContaining(expected));
10384
+ utils6.addMethod(chai3.expect, "arrayContaining", (expected) => new ArrayContaining(expected));
10385
+ utils6.addMethod(chai3.expect, "stringMatching", (expected) => new StringMatching(expected));
10386
+ utils6.addMethod(chai3.expect, "closeTo", (expected, precision) => new CloseTo(expected, precision));
10346
10387
  chai3.expect.not = {
10347
10388
  stringContaining: (expected) => new StringContaining(expected, true),
10348
10389
  objectContaining: (expected) => new ObjectContaining(expected, true),
@@ -10351,15 +10392,15 @@ var JestAsymmetricMatchers = (chai3, utils7) => {
10351
10392
  closeTo: (expected, precision) => new CloseTo(expected, precision, true)
10352
10393
  };
10353
10394
  };
10354
- var JestChaiExpect = (chai3, utils7) => {
10395
+ var JestChaiExpect = (chai3, utils6) => {
10355
10396
  const { AssertionError: AssertionError2 } = chai3;
10356
10397
  const c2 = () => getColors();
10357
10398
  const customTesters = getCustomEqualityTesters();
10358
10399
  function def(name, fn2) {
10359
10400
  const addMethod = (n) => {
10360
- const softWrapper = wrapSoft(utils7, fn2);
10361
- utils7.addMethod(chai3.Assertion.prototype, n, softWrapper);
10362
- utils7.addMethod(globalThis[JEST_MATCHERS_OBJECT].matchers, n, softWrapper);
10401
+ const softWrapper = wrapSoft(utils6, fn2);
10402
+ utils6.addMethod(chai3.Assertion.prototype, n, softWrapper);
10403
+ utils6.addMethod(globalThis[JEST_MATCHERS_OBJECT].matchers, n, softWrapper);
10363
10404
  };
10364
10405
  if (Array.isArray(name))
10365
10406
  name.forEach((n) => addMethod(n));
@@ -10367,22 +10408,22 @@ var JestChaiExpect = (chai3, utils7) => {
10367
10408
  addMethod(name);
10368
10409
  }
10369
10410
  ["throw", "throws", "Throw"].forEach((m) => {
10370
- utils7.overwriteMethod(chai3.Assertion.prototype, m, (_super) => {
10411
+ utils6.overwriteMethod(chai3.Assertion.prototype, m, (_super) => {
10371
10412
  return function(...args) {
10372
- const promise2 = utils7.flag(this, "promise");
10373
- const object3 = utils7.flag(this, "object");
10374
- const isNot = utils7.flag(this, "negate");
10413
+ const promise2 = utils6.flag(this, "promise");
10414
+ const object3 = utils6.flag(this, "object");
10415
+ const isNot = utils6.flag(this, "negate");
10375
10416
  if (promise2 === "rejects") {
10376
- utils7.flag(this, "object", () => {
10417
+ utils6.flag(this, "object", () => {
10377
10418
  throw object3;
10378
10419
  });
10379
10420
  } else if (promise2 === "resolves" && typeof object3 !== "function") {
10380
10421
  if (!isNot) {
10381
- const message = utils7.flag(this, "message") || "expected promise to throw an error, but it didn't";
10422
+ const message = utils6.flag(this, "message") || "expected promise to throw an error, but it didn't";
10382
10423
  const error3 = {
10383
10424
  showDiff: false
10384
10425
  };
10385
- throw new AssertionError2(message, error3, utils7.flag(this, "ssfi"));
10426
+ throw new AssertionError2(message, error3, utils6.flag(this, "ssfi"));
10386
10427
  } else {
10387
10428
  return;
10388
10429
  }
@@ -10392,16 +10433,16 @@ var JestChaiExpect = (chai3, utils7) => {
10392
10433
  });
10393
10434
  });
10394
10435
  def("withTest", function(test2) {
10395
- utils7.flag(this, "vitest-test", test2);
10436
+ utils6.flag(this, "vitest-test", test2);
10396
10437
  return this;
10397
10438
  });
10398
10439
  def("toEqual", function(expected) {
10399
- const actual = utils7.flag(this, "object");
10440
+ const actual = utils6.flag(this, "object");
10400
10441
  const equal = equals(actual, expected, [...customTesters, iterableEquality]);
10401
10442
  return this.assert(equal, "expected #{this} to deeply equal #{exp}", "expected #{this} to not deeply equal #{exp}", expected, actual);
10402
10443
  });
10403
10444
  def("toStrictEqual", function(expected) {
10404
- const obj = utils7.flag(this, "object");
10445
+ const obj = utils6.flag(this, "object");
10405
10446
  const equal = equals(obj, expected, [
10406
10447
  ...customTesters,
10407
10448
  iterableEquality,
@@ -10452,27 +10493,27 @@ var JestChaiExpect = (chai3, utils7) => {
10452
10493
  }
10453
10494
  if (typeof DOMTokenList !== "undefined" && actual instanceof DOMTokenList) {
10454
10495
  assertTypes(item, "class name", ["string"]);
10455
- const isNot = utils7.flag(this, "negate");
10496
+ const isNot = utils6.flag(this, "negate");
10456
10497
  const expectedClassList = isNot ? actual.value.replace(item, "").trim() : `${actual.value} ${item}`;
10457
10498
  return this.assert(actual.contains(item), `expected "${actual.value}" to contain "${item}"`, `expected "${actual.value}" not to contain "${item}"`, expectedClassList, actual.value);
10458
10499
  }
10459
10500
  if (actual != null && typeof actual !== "string")
10460
- utils7.flag(this, "object", Array.from(actual));
10501
+ utils6.flag(this, "object", Array.from(actual));
10461
10502
  return this.contain(item);
10462
10503
  });
10463
10504
  def("toContainEqual", function(expected) {
10464
- const obj = utils7.flag(this, "object");
10505
+ const obj = utils6.flag(this, "object");
10465
10506
  const index = Array.from(obj).findIndex((item) => {
10466
10507
  return equals(item, expected, customTesters);
10467
10508
  });
10468
10509
  this.assert(index !== -1, "expected #{this} to deep equally contain #{exp}", "expected #{this} to not deep equally contain #{exp}", expected);
10469
10510
  });
10470
10511
  def("toBeTruthy", function() {
10471
- const obj = utils7.flag(this, "object");
10512
+ const obj = utils6.flag(this, "object");
10472
10513
  this.assert(Boolean(obj), "expected #{this} to be truthy", "expected #{this} to not be truthy", obj, false);
10473
10514
  });
10474
10515
  def("toBeFalsy", function() {
10475
- const obj = utils7.flag(this, "object");
10516
+ const obj = utils6.flag(this, "object");
10476
10517
  this.assert(!obj, "expected #{this} to be falsy", "expected #{this} to not be falsy", obj, false);
10477
10518
  });
10478
10519
  def("toBeGreaterThan", function(expected) {
@@ -10509,8 +10550,8 @@ var JestChaiExpect = (chai3, utils7) => {
10509
10550
  return this.be.null;
10510
10551
  });
10511
10552
  def("toBeDefined", function() {
10512
- const negate = utils7.flag(this, "negate");
10513
- utils7.flag(this, "negate", false);
10553
+ const negate = utils6.flag(this, "negate");
10554
+ utils6.flag(this, "negate", false);
10514
10555
  if (negate)
10515
10556
  return this.be.undefined;
10516
10557
  return this.not.be.undefined;
@@ -10535,11 +10576,11 @@ var JestChaiExpect = (chai3, utils7) => {
10535
10576
  const hasOwn = Object.prototype.hasOwnProperty.call(actual, propertyName);
10536
10577
  if (hasOwn)
10537
10578
  return { value: actual[propertyName], exists: true };
10538
- return utils7.getPathInfo(actual, propertyName);
10579
+ return utils6.getPathInfo(actual, propertyName);
10539
10580
  };
10540
10581
  const { value, exists } = getValue();
10541
10582
  const pass = exists && (args.length === 1 || equals(expected, value, customTesters));
10542
- const valueString = args.length === 1 ? "" : ` with value ${utils7.objDisplay(expected)}`;
10583
+ const valueString = args.length === 1 ? "" : ` with value ${utils6.objDisplay(expected)}`;
10543
10584
  return this.assert(pass, `expected #{this} to have property "${propertyName}"${valueString}`, `expected #{this} to not have property "${propertyName}"${valueString}`, expected, exists ? value : undefined);
10544
10585
  });
10545
10586
  def("toBeCloseTo", function(received, precision = 2) {
@@ -10560,7 +10601,7 @@ var JestChaiExpect = (chai3, utils7) => {
10560
10601
  });
10561
10602
  const assertIsMock = (assertion) => {
10562
10603
  if (!isMockFunction(assertion._obj))
10563
- throw new TypeError(`${utils7.inspect(assertion._obj)} is not a spy or a call to a spy!`);
10604
+ throw new TypeError(`${utils6.inspect(assertion._obj)} is not a spy or a call to a spy!`);
10564
10605
  };
10565
10606
  const getSpy = (assertion) => {
10566
10607
  assertIsMock(assertion);
@@ -10640,8 +10681,8 @@ Number of calls: ${c2().bold(spy2.mock.calls.length)}
10640
10681
  const spyName = spy2.getMockName();
10641
10682
  const callCount = spy2.mock.calls.length;
10642
10683
  const called = callCount > 0;
10643
- const isNot = utils7.flag(this, "negate");
10644
- let msg = utils7.getMessage(this, [
10684
+ const isNot = utils6.flag(this, "negate");
10685
+ let msg = utils6.getMessage(this, [
10645
10686
  called,
10646
10687
  `expected "${spyName}" to be called at least once`,
10647
10688
  `expected "${spyName}" to not be called at all, but actually been called ${callCount} times`,
@@ -10657,8 +10698,8 @@ Number of calls: ${c2().bold(spy2.mock.calls.length)}
10657
10698
  const spy2 = getSpy(this);
10658
10699
  const spyName = spy2.getMockName();
10659
10700
  const pass = spy2.mock.calls.some((callArg) => equals(callArg, args, [...customTesters, iterableEquality]));
10660
- const isNot = utils7.flag(this, "negate");
10661
- const msg = utils7.getMessage(this, [
10701
+ const isNot = utils6.flag(this, "negate");
10702
+ const msg = utils6.getMessage(this, [
10662
10703
  pass,
10663
10704
  `expected "${spyName}" to be called with arguments: #{exp}`,
10664
10705
  `expected "${spyName}" to not be called with arguments: #{exp}`,
@@ -10683,18 +10724,18 @@ Number of calls: ${c2().bold(spy2.mock.calls.length)}
10683
10724
  if (typeof expected === "string" || typeof expected === "undefined" || expected instanceof RegExp)
10684
10725
  return this.throws(expected);
10685
10726
  const obj = this._obj;
10686
- const promise2 = utils7.flag(this, "promise");
10687
- const isNot = utils7.flag(this, "negate");
10727
+ const promise2 = utils6.flag(this, "promise");
10728
+ const isNot = utils6.flag(this, "negate");
10688
10729
  let thrown = null;
10689
10730
  if (promise2 === "rejects") {
10690
10731
  thrown = obj;
10691
10732
  } else if (promise2 === "resolves" && typeof obj !== "function") {
10692
10733
  if (!isNot) {
10693
- const message = utils7.flag(this, "message") || "expected promise to throw an error, but it didn't";
10734
+ const message = utils6.flag(this, "message") || "expected promise to throw an error, but it didn't";
10694
10735
  const error3 = {
10695
10736
  showDiff: false
10696
10737
  };
10697
- throw new AssertionError2(message, error3, utils7.flag(this, "ssfi"));
10738
+ throw new AssertionError2(message, error3, utils6.flag(this, "ssfi"));
10698
10739
  } else {
10699
10740
  return;
10700
10741
  }
@@ -10707,11 +10748,11 @@ Number of calls: ${c2().bold(spy2.mock.calls.length)}
10707
10748
  thrown = err;
10708
10749
  }
10709
10750
  if (!isThrow && !isNot) {
10710
- const message = utils7.flag(this, "message") || "expected function to throw an error, but it didn't";
10751
+ const message = utils6.flag(this, "message") || "expected function to throw an error, but it didn't";
10711
10752
  const error3 = {
10712
10753
  showDiff: false
10713
10754
  };
10714
- throw new AssertionError2(message, error3, utils7.flag(this, "ssfi"));
10755
+ throw new AssertionError2(message, error3, utils6.flag(this, "ssfi"));
10715
10756
  }
10716
10757
  }
10717
10758
  if (typeof expected === "function") {
@@ -10743,8 +10784,8 @@ Number of calls: ${c2().bold(spy2.mock.calls.length)}
10743
10784
  const spy2 = getSpy(this);
10744
10785
  const spyName = spy2.getMockName();
10745
10786
  const pass = spy2.mock.results.some(({ type, value: result }) => type === "return" && equals(value, result));
10746
- const isNot = utils7.flag(this, "negate");
10747
- const msg = utils7.getMessage(this, [
10787
+ const isNot = utils6.flag(this, "negate");
10788
+ const msg = utils6.getMessage(this, [
10748
10789
  pass,
10749
10790
  `expected "${spyName}" to return with: #{exp} at least once`,
10750
10791
  `expected "${spyName}" to not return with: #{exp}`,
@@ -10763,7 +10804,7 @@ Number of calls: ${c2().bold(spy2.mock.calls.length)}
10763
10804
  def(["toHaveNthReturnedWith", "nthReturnedWith"], function(nthCall, value) {
10764
10805
  const spy2 = getSpy(this);
10765
10806
  const spyName = spy2.getMockName();
10766
- const isNot = utils7.flag(this, "negate");
10807
+ const isNot = utils6.flag(this, "negate");
10767
10808
  const { type: callType, value: callResult } = spy2.mock.results[nthCall - 1];
10768
10809
  const ordinalCall = `${ordinalOf(nthCall)} call`;
10769
10810
  if (!isNot && callType === "throw")
@@ -10774,12 +10815,12 @@ Number of calls: ${c2().bold(spy2.mock.calls.length)}
10774
10815
  def("toSatisfy", function(matcher, message) {
10775
10816
  return this.be.satisfy(matcher, message);
10776
10817
  });
10777
- utils7.addProperty(chai3.Assertion.prototype, "resolves", function __VITEST_RESOLVES__() {
10818
+ utils6.addProperty(chai3.Assertion.prototype, "resolves", function __VITEST_RESOLVES__() {
10778
10819
  const error3 = new Error("resolves");
10779
- utils7.flag(this, "promise", "resolves");
10780
- utils7.flag(this, "error", error3);
10781
- const test2 = utils7.flag(this, "vitest-test");
10782
- const obj = utils7.flag(this, "object");
10820
+ utils6.flag(this, "promise", "resolves");
10821
+ utils6.flag(this, "error", error3);
10822
+ const test2 = utils6.flag(this, "vitest-test");
10823
+ const obj = utils6.flag(this, "object");
10783
10824
  if (typeof (obj == null ? undefined : obj.then) !== "function")
10784
10825
  throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof obj}'.`);
10785
10826
  const proxy = new Proxy(this, {
@@ -10789,10 +10830,10 @@ Number of calls: ${c2().bold(spy2.mock.calls.length)}
10789
10830
  return result instanceof chai3.Assertion ? proxy : result;
10790
10831
  return async (...args) => {
10791
10832
  const promise2 = obj.then((value) => {
10792
- utils7.flag(this, "object", value);
10833
+ utils6.flag(this, "object", value);
10793
10834
  return result.call(this, ...args);
10794
10835
  }, (err) => {
10795
- const _error = new AssertionError2(`promise rejected "${utils7.inspect(err)}" instead of resolving`, { showDiff: false });
10836
+ const _error = new AssertionError2(`promise rejected "${utils6.inspect(err)}" instead of resolving`, { showDiff: false });
10796
10837
  _error.cause = err;
10797
10838
  _error.stack = error3.stack.replace(error3.message, _error.message);
10798
10839
  throw _error;
@@ -10803,12 +10844,12 @@ Number of calls: ${c2().bold(spy2.mock.calls.length)}
10803
10844
  });
10804
10845
  return proxy;
10805
10846
  });
10806
- utils7.addProperty(chai3.Assertion.prototype, "rejects", function __VITEST_REJECTS__() {
10847
+ utils6.addProperty(chai3.Assertion.prototype, "rejects", function __VITEST_REJECTS__() {
10807
10848
  const error3 = new Error("rejects");
10808
- utils7.flag(this, "promise", "rejects");
10809
- utils7.flag(this, "error", error3);
10810
- const test2 = utils7.flag(this, "vitest-test");
10811
- const obj = utils7.flag(this, "object");
10849
+ utils6.flag(this, "promise", "rejects");
10850
+ utils6.flag(this, "error", error3);
10851
+ const test2 = utils6.flag(this, "vitest-test");
10852
+ const obj = utils6.flag(this, "object");
10812
10853
  const wrapper = typeof obj === "function" ? obj() : obj;
10813
10854
  if (typeof (wrapper == null ? undefined : wrapper.then) !== "function")
10814
10855
  throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof wrapper}'.`);
@@ -10819,11 +10860,11 @@ Number of calls: ${c2().bold(spy2.mock.calls.length)}
10819
10860
  return result instanceof chai3.Assertion ? proxy : result;
10820
10861
  return async (...args) => {
10821
10862
  const promise2 = wrapper.then((value) => {
10822
- const _error = new AssertionError2(`promise resolved "${utils7.inspect(value)}" instead of rejecting`, { showDiff: true, expected: new Error("rejected promise"), actual: value });
10863
+ const _error = new AssertionError2(`promise resolved "${utils6.inspect(value)}" instead of rejecting`, { showDiff: true, expected: new Error("rejected promise"), actual: value });
10823
10864
  _error.stack = error3.stack.replace(error3.message, _error.message);
10824
10865
  throw _error;
10825
10866
  }, (err) => {
10826
- utils7.flag(this, "object", err);
10867
+ utils6.flag(this, "object", err);
10827
10868
  return result.call(this, ...args);
10828
10869
  });
10829
10870
  return recordAsyncExpect(test2, promise2);
@@ -10841,13 +10882,13 @@ class JestExtendError extends Error {
10841
10882
  this.expected = expected;
10842
10883
  }
10843
10884
  }
10844
- var JestExtend = (chai3, utils7) => {
10845
- utils7.addMethod(chai3.expect, "extend", (expect2, expects) => {
10885
+ var JestExtend = (chai3, utils6) => {
10886
+ utils6.addMethod(chai3.expect, "extend", (expect2, expects) => {
10846
10887
  chai3.use(JestExtendPlugin(expect2, expects));
10847
10888
  });
10848
10889
  };
10849
10890
 
10850
- // /home/runner/work/stacks/stacks/node_modules/@vitest/snapshot/dist/index.js
10891
+ // ../../../../node_modules/@vitest/snapshot/dist/index.js
10851
10892
  var import_pretty_format5 = __toESM(require_build(), 1);
10852
10893
  var getDefaultExportFromCjs2 = function(x) {
10853
10894
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
@@ -12205,12 +12246,12 @@ class SnapshotClient {
12205
12246
  }
12206
12247
  }
12207
12248
 
12208
- // /home/runner/work/stacks/stacks/node_modules/vitest/dist/vendor/tasks.IknbGB2n.js
12249
+ // ../../../../node_modules/vitest/dist/vendor/tasks.IknbGB2n.js
12209
12250
  var getFullName = function(task, separator = " > ") {
12210
12251
  return getNames(task).join(separator);
12211
12252
  };
12212
12253
 
12213
- // /home/runner/work/stacks/stacks/node_modules/@vitest/utils/dist/source-map.js
12254
+ // ../../../../node_modules/@vitest/utils/dist/source-map.js
12214
12255
  var normalizeWindowsPath2 = function(input = "") {
12215
12256
  if (!input || !input.includes("\\")) {
12216
12257
  return input;
@@ -12658,12 +12699,12 @@ var generatedPositionFor;
12658
12699
  var CHROME_IE_STACK_REGEXP2 = /^\s*at .*(\S+:\d+|\(native\))/m;
12659
12700
  var SAFARI_NATIVE_CODE_REGEXP2 = /^(eval@)?(\[native code])?$/;
12660
12701
 
12661
- // /home/runner/work/stacks/stacks/node_modules/vitest/dist/vendor/base.QYERqzkH.js
12702
+ // ../../../../node_modules/vitest/dist/vendor/base.N3JkKp7j.js
12662
12703
  var isChildProcess = function() {
12663
12704
  return typeof process !== "undefined" && !!process.send;
12664
12705
  };
12665
12706
 
12666
- // /home/runner/work/stacks/stacks/node_modules/vitest/dist/vendor/date.Ns1pGd_X.js
12707
+ // ../../../../node_modules/vitest/dist/vendor/date.Ns1pGd_X.js
12667
12708
  var mockDate = function(date2) {
12668
12709
  const dateObj = new RealDate(date2.valueOf());
12669
12710
  if (Number.isNaN(dateObj.getTime()))
@@ -12715,7 +12756,7 @@ MockDate.toString = function() {
12715
12756
  return RealDate.toString();
12716
12757
  };
12717
12758
 
12718
- // /home/runner/work/stacks/stacks/node_modules/vitest/dist/vendor/vi.PPwhENHF.js
12759
+ // ../../../../node_modules/vitest/dist/vendor/vi.C5mroSoP.js
12719
12760
  var resetModules = function(modules, resetMocks = false) {
12720
12761
  const skipPaths = [
12721
12762
  /\/vitest\/dist\//,
@@ -14069,7 +14110,7 @@ var createVitest = function() {
14069
14110
  const stack = parseSingleStack(importerStack);
14070
14111
  return (stack == null ? undefined : stack.file) || "";
14071
14112
  };
14072
- const utils10 = {
14113
+ const utils9 = {
14073
14114
  useFakeTimers(config2) {
14074
14115
  var _a2, _b, _c, _d;
14075
14116
  if (isChildProcess()) {
@@ -14082,7 +14123,7 @@ var createVitest = function() {
14082
14123
  else
14083
14124
  _timers.configure(workerState.config.fakeTimers);
14084
14125
  _timers.useFakeTimers();
14085
- return utils10;
14126
+ return utils9;
14086
14127
  },
14087
14128
  isFakeTimers() {
14088
14129
  return _timers.isFakeTimers();
@@ -14090,43 +14131,43 @@ var createVitest = function() {
14090
14131
  useRealTimers() {
14091
14132
  _timers.useRealTimers();
14092
14133
  _mockedDate = null;
14093
- return utils10;
14134
+ return utils9;
14094
14135
  },
14095
14136
  runOnlyPendingTimers() {
14096
14137
  _timers.runOnlyPendingTimers();
14097
- return utils10;
14138
+ return utils9;
14098
14139
  },
14099
14140
  async runOnlyPendingTimersAsync() {
14100
14141
  await _timers.runOnlyPendingTimersAsync();
14101
- return utils10;
14142
+ return utils9;
14102
14143
  },
14103
14144
  runAllTimers() {
14104
14145
  _timers.runAllTimers();
14105
- return utils10;
14146
+ return utils9;
14106
14147
  },
14107
14148
  async runAllTimersAsync() {
14108
14149
  await _timers.runAllTimersAsync();
14109
- return utils10;
14150
+ return utils9;
14110
14151
  },
14111
14152
  runAllTicks() {
14112
14153
  _timers.runAllTicks();
14113
- return utils10;
14154
+ return utils9;
14114
14155
  },
14115
14156
  advanceTimersByTime(ms) {
14116
14157
  _timers.advanceTimersByTime(ms);
14117
- return utils10;
14158
+ return utils9;
14118
14159
  },
14119
14160
  async advanceTimersByTimeAsync(ms) {
14120
14161
  await _timers.advanceTimersByTimeAsync(ms);
14121
- return utils10;
14162
+ return utils9;
14122
14163
  },
14123
14164
  advanceTimersToNextTimer() {
14124
14165
  _timers.advanceTimersToNextTimer();
14125
- return utils10;
14166
+ return utils9;
14126
14167
  },
14127
14168
  async advanceTimersToNextTimerAsync() {
14128
14169
  await _timers.advanceTimersToNextTimerAsync();
14129
- return utils10;
14170
+ return utils9;
14130
14171
  },
14131
14172
  getTimerCount() {
14132
14173
  return _timers.getTimerCount();
@@ -14135,7 +14176,7 @@ var createVitest = function() {
14135
14176
  const date2 = time instanceof Date ? time : new Date(time);
14136
14177
  _mockedDate = date2;
14137
14178
  _timers.setSystemTime(date2);
14138
- return utils10;
14179
+ return utils9;
14139
14180
  },
14140
14181
  getMockedSystemTime() {
14141
14182
  return _mockedDate;
@@ -14145,7 +14186,7 @@ var createVitest = function() {
14145
14186
  },
14146
14187
  clearAllTimers() {
14147
14188
  _timers.clearAllTimers();
14148
- return utils10;
14189
+ return utils9;
14149
14190
  },
14150
14191
  spyOn,
14151
14192
  fn,
@@ -14183,15 +14224,15 @@ var createVitest = function() {
14183
14224
  },
14184
14225
  clearAllMocks() {
14185
14226
  mocks.forEach((spy3) => spy3.mockClear());
14186
- return utils10;
14227
+ return utils9;
14187
14228
  },
14188
14229
  resetAllMocks() {
14189
14230
  mocks.forEach((spy3) => spy3.mockReset());
14190
- return utils10;
14231
+ return utils9;
14191
14232
  },
14192
14233
  restoreAllMocks() {
14193
14234
  mocks.forEach((spy3) => spy3.mockRestore());
14194
- return utils10;
14235
+ return utils9;
14195
14236
  },
14196
14237
  stubGlobal(name, value) {
14197
14238
  if (!_stubsGlobal.has(name))
@@ -14202,13 +14243,13 @@ var createVitest = function() {
14202
14243
  configurable: true,
14203
14244
  enumerable: true
14204
14245
  });
14205
- return utils10;
14246
+ return utils9;
14206
14247
  },
14207
14248
  stubEnv(name, value) {
14208
14249
  if (!_stubsEnv.has(name))
14209
14250
  _stubsEnv.set(name, process.env[name]);
14210
14251
  process.env[name] = value;
14211
- return utils10;
14252
+ return utils9;
14212
14253
  },
14213
14254
  unstubAllGlobals() {
14214
14255
  _stubsGlobal.forEach((original, name) => {
@@ -14218,7 +14259,7 @@ var createVitest = function() {
14218
14259
  Object.defineProperty(globalThis, name, original);
14219
14260
  });
14220
14261
  _stubsGlobal.clear();
14221
- return utils10;
14262
+ return utils9;
14222
14263
  },
14223
14264
  unstubAllEnvs() {
14224
14265
  _stubsEnv.forEach((original, name) => {
@@ -14228,11 +14269,11 @@ var createVitest = function() {
14228
14269
  process.env[name] = original;
14229
14270
  });
14230
14271
  _stubsEnv.clear();
14231
- return utils10;
14272
+ return utils9;
14232
14273
  },
14233
14274
  resetModules() {
14234
14275
  resetModules(workerState.moduleCache);
14235
- return utils10;
14276
+ return utils9;
14236
14277
  },
14237
14278
  async dynamicImportSettled() {
14238
14279
  return waitForImportsToResolve();
@@ -14247,7 +14288,7 @@ var createVitest = function() {
14247
14288
  Object.assign(workerState.config, _config);
14248
14289
  }
14249
14290
  };
14250
- return utils10;
14291
+ return utils9;
14251
14292
  };
14252
14293
  var chaiSubset = { exports: {} };
14253
14294
  (function(module, exports) {
@@ -14258,11 +14299,11 @@ var chaiSubset = { exports: {} };
14258
14299
  } else {
14259
14300
  return chai.use(chaiSubset2);
14260
14301
  }
14261
- })(function(chai3, utils10) {
14302
+ })(function(chai3, utils9) {
14262
14303
  var Assertion2 = chai3.Assertion;
14263
14304
  var assertionPrototype = Assertion2.prototype;
14264
14305
  Assertion2.addMethod("containSubset", function(expected) {
14265
- var actual = utils10.flag(this, "object");
14306
+ var actual = utils9.flag(this, "object");
14266
14307
  var showDiff = chai3.config.showDiff;
14267
14308
  assertionPrototype.assert.call(this, compare(expected, actual), "expected #{act} to contain subset #{exp}", "expected #{act} to not contain subset #{exp}", expected, actual, showDiff);
14268
14309
  });
@@ -14342,7 +14383,7 @@ if (!Object.prototype.hasOwnProperty.call(globalThis, MATCHERS_OBJECT2)) {
14342
14383
  });
14343
14384
  }
14344
14385
  var _client;
14345
- var SnapshotPlugin = (chai3, utils10) => {
14386
+ var SnapshotPlugin = (chai3, utils9) => {
14346
14387
  const getTestNames = (test3) => {
14347
14388
  var _a2;
14348
14389
  if (!test3)
@@ -14353,14 +14394,14 @@ var SnapshotPlugin = (chai3, utils10) => {
14353
14394
  };
14354
14395
  };
14355
14396
  for (const key of ["matchSnapshot", "toMatchSnapshot"]) {
14356
- utils10.addMethod(chai3.Assertion.prototype, key, function(properties, message) {
14357
- const expected = utils10.flag(this, "object");
14358
- const test3 = utils10.flag(this, "vitest-test");
14397
+ utils9.addMethod(chai3.Assertion.prototype, key, function(properties, message) {
14398
+ const expected = utils9.flag(this, "object");
14399
+ const test3 = utils9.flag(this, "vitest-test");
14359
14400
  if (typeof properties === "string" && typeof message === "undefined") {
14360
14401
  message = properties;
14361
14402
  properties = undefined;
14362
14403
  }
14363
- const errorMessage = utils10.flag(this, "message");
14404
+ const errorMessage = utils9.flag(this, "message");
14364
14405
  getSnapshotClient().assert({
14365
14406
  received: expected,
14366
14407
  message,
@@ -14371,10 +14412,10 @@ var SnapshotPlugin = (chai3, utils10) => {
14371
14412
  });
14372
14413
  });
14373
14414
  }
14374
- utils10.addMethod(chai3.Assertion.prototype, "toMatchFileSnapshot", function(file, message) {
14375
- const expected = utils10.flag(this, "object");
14376
- const test3 = utils10.flag(this, "vitest-test");
14377
- const errorMessage = utils10.flag(this, "message");
14415
+ utils9.addMethod(chai3.Assertion.prototype, "toMatchFileSnapshot", function(file, message) {
14416
+ const expected = utils9.flag(this, "object");
14417
+ const test3 = utils9.flag(this, "vitest-test");
14418
+ const errorMessage = utils9.flag(this, "message");
14378
14419
  const promise2 = getSnapshotClient().assertRaw({
14379
14420
  received: expected,
14380
14421
  message,
@@ -14387,14 +14428,14 @@ var SnapshotPlugin = (chai3, utils10) => {
14387
14428
  });
14388
14429
  return recordAsyncExpect2(test3, promise2);
14389
14430
  });
14390
- utils10.addMethod(chai3.Assertion.prototype, "toMatchInlineSnapshot", function __INLINE_SNAPSHOT__(properties, inlineSnapshot, message) {
14431
+ utils9.addMethod(chai3.Assertion.prototype, "toMatchInlineSnapshot", function __INLINE_SNAPSHOT__(properties, inlineSnapshot, message) {
14391
14432
  var _a2;
14392
- const test3 = utils10.flag(this, "vitest-test");
14433
+ const test3 = utils9.flag(this, "vitest-test");
14393
14434
  const isInsideEach = test3 && (test3.each || ((_a2 = test3.suite) == null ? undefined : _a2.each));
14394
14435
  if (isInsideEach)
14395
14436
  throw new Error("InlineSnapshot cannot be used inside of test.each or describe.each");
14396
- const expected = utils10.flag(this, "object");
14397
- const error3 = utils10.flag(this, "error");
14437
+ const expected = utils9.flag(this, "object");
14438
+ const error3 = utils9.flag(this, "error");
14398
14439
  if (typeof properties === "string") {
14399
14440
  message = inlineSnapshot;
14400
14441
  inlineSnapshot = properties;
@@ -14402,7 +14443,7 @@ var SnapshotPlugin = (chai3, utils10) => {
14402
14443
  }
14403
14444
  if (inlineSnapshot)
14404
14445
  inlineSnapshot = stripSnapshotIndentation(inlineSnapshot);
14405
- const errorMessage = utils10.flag(this, "message");
14446
+ const errorMessage = utils9.flag(this, "message");
14406
14447
  getSnapshotClient().assert({
14407
14448
  received: expected,
14408
14449
  message,
@@ -14414,11 +14455,11 @@ var SnapshotPlugin = (chai3, utils10) => {
14414
14455
  ...getTestNames(test3)
14415
14456
  });
14416
14457
  });
14417
- utils10.addMethod(chai3.Assertion.prototype, "toThrowErrorMatchingSnapshot", function(message) {
14418
- const expected = utils10.flag(this, "object");
14419
- const test3 = utils10.flag(this, "vitest-test");
14420
- const promise2 = utils10.flag(this, "promise");
14421
- const errorMessage = utils10.flag(this, "message");
14458
+ utils9.addMethod(chai3.Assertion.prototype, "toThrowErrorMatchingSnapshot", function(message) {
14459
+ const expected = utils9.flag(this, "object");
14460
+ const test3 = utils9.flag(this, "vitest-test");
14461
+ const promise2 = utils9.flag(this, "promise");
14462
+ const errorMessage = utils9.flag(this, "message");
14422
14463
  getSnapshotClient().assert({
14423
14464
  received: getError(expected, promise2),
14424
14465
  message,
@@ -14426,16 +14467,16 @@ var SnapshotPlugin = (chai3, utils10) => {
14426
14467
  ...getTestNames(test3)
14427
14468
  });
14428
14469
  });
14429
- utils10.addMethod(chai3.Assertion.prototype, "toThrowErrorMatchingInlineSnapshot", function __INLINE_SNAPSHOT__(inlineSnapshot, message) {
14470
+ utils9.addMethod(chai3.Assertion.prototype, "toThrowErrorMatchingInlineSnapshot", function __INLINE_SNAPSHOT__(inlineSnapshot, message) {
14430
14471
  var _a2;
14431
- const test3 = utils10.flag(this, "vitest-test");
14472
+ const test3 = utils9.flag(this, "vitest-test");
14432
14473
  const isInsideEach = test3 && (test3.each || ((_a2 = test3.suite) == null ? undefined : _a2.each));
14433
14474
  if (isInsideEach)
14434
14475
  throw new Error("InlineSnapshot cannot be used inside of test.each or describe.each");
14435
- const expected = utils10.flag(this, "object");
14436
- const error3 = utils10.flag(this, "error");
14437
- const promise2 = utils10.flag(this, "promise");
14438
- const errorMessage = utils10.flag(this, "message");
14476
+ const expected = utils9.flag(this, "object");
14477
+ const error3 = utils9.flag(this, "error");
14478
+ const promise2 = utils9.flag(this, "promise");
14479
+ const errorMessage = utils9.flag(this, "message");
14439
14480
  if (inlineSnapshot)
14440
14481
  inlineSnapshot = stripSnapshotIndentation(inlineSnapshot);
14441
14482
  getSnapshotClient().assert({
@@ -14448,7 +14489,7 @@ var SnapshotPlugin = (chai3, utils10) => {
14448
14489
  ...getTestNames(test3)
14449
14490
  });
14450
14491
  });
14451
- utils10.addMethod(chai3.expect, "addSnapshotSerializer", addSerializer);
14492
+ utils9.addMethod(chai3.expect, "addSnapshotSerializer", addSerializer);
14452
14493
  };
14453
14494
  use(JestExtend);
14454
14495
  use(JestChaiExpect);
@@ -14873,7 +14914,7 @@ class FakeTimers {
14873
14914
  var vitest = createVitest();
14874
14915
  var vi = vitest;
14875
14916
 
14876
- // /home/runner/work/stacks/stacks/node_modules/vitest/dist/vendor/index.LgG0iblq.js
14917
+ // ../../../../node_modules/vitest/dist/vendor/index.JZMafwT-.js
14877
14918
  var getRunningMode = function() {
14878
14919
  return process.env.VITEST_MODE === "WATCH" ? "watch" : "run";
14879
14920
  };
@@ -14956,6 +14997,7 @@ var VitestIndex = Object.freeze({
14956
14997
  isWatchMode,
14957
14998
  it,
14958
14999
  onTestFailed,
15000
+ onTestFinished,
14959
15001
  runOnce,
14960
15002
  should,
14961
15003
  suite,
@@ -14963,7 +15005,7 @@ var VitestIndex = Object.freeze({
14963
15005
  vi,
14964
15006
  vitest
14965
15007
  });
14966
- // /home/runner/work/stacks/stacks/node_modules/vitest/dist/index.js
15008
+ // ../../../../node_modules/vitest/dist/index.js
14967
15009
  var expectTypeOf = dist.expectTypeOf;
14968
15010
 
14969
15011
  // src/index.ts