vest 5.4.2 → 5.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/vest.development.js +1 -1
- package/dist/cjs/vest.development.js.map +1 -1
- package/dist/cjs/vest.production.js +1 -1
- package/dist/cjs/vest.production.js.map +1 -1
- package/dist/es/vest.development.js +1 -1
- package/dist/es/vest.development.js.map +1 -1
- package/dist/es/vest.production.js +1 -1
- package/dist/es/vest.production.js.map +1 -1
- package/dist/umd/vest.development.js +1 -1
- package/dist/umd/vest.development.js.map +1 -1
- package/dist/umd/vest.production.js +1 -1
- package/dist/umd/vest.production.js.map +1 -1
- package/package.json +1 -1
|
@@ -1812,7 +1812,7 @@ function validateSuiteCallback(suiteCallback) {
|
|
|
1812
1812
|
// @vx-allow use-use
|
|
1813
1813
|
// eslint-disable-next-line max-lines-per-function
|
|
1814
1814
|
function createSuite(...args) {
|
|
1815
|
-
const [suiteCallback, suiteName] = args.reverse();
|
|
1815
|
+
const [suiteCallback, suiteName] = vestUtils.asArray(args).reverse();
|
|
1816
1816
|
validateSuiteCallback(suiteCallback);
|
|
1817
1817
|
// Create a stateRef for the suite
|
|
1818
1818
|
// It holds the suite's persisted values that may remain between runs.
|