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.
@@ -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.