@carbonorm/carbonreact 3.3.2 → 3.3.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/index.esm.js CHANGED
@@ -4251,7 +4251,7 @@ function validSQL$1 (sql) {
4251
4251
  validSQL.push({ [expect.getState().currentTestName.replaceAll(" ", "_").toLowerCase()]: sql });
4252
4252
  }
4253
4253
 
4254
- function setupTests ({ sqlDirectory = './logs/rest/', logsDirectory = './logs/tests/' }) {
4254
+ function setupTests ({ sqlDirectory = './logs/rest/', logsDirectory = './logs/tests/' } = {}) {
4255
4255
  const originalWindowLocation = window.location;
4256
4256
  const testName = () => expect.getState().currentTestName?.replaceAll(" ", "_").toLowerCase();
4257
4257
  const validSqlFile = () => sqlDirectory + testName() + '.json';