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.
@@ -1811,7 +1811,7 @@
1811
1811
  // @vx-allow use-use
1812
1812
  // eslint-disable-next-line max-lines-per-function
1813
1813
  function createSuite(...args) {
1814
- const [suiteCallback, suiteName] = args.reverse();
1814
+ const [suiteCallback, suiteName] = vestUtils.asArray(args).reverse();
1815
1815
  validateSuiteCallback(suiteCallback);
1816
1816
  // Create a stateRef for the suite
1817
1817
  // It holds the suite's persisted values that may remain between runs.