@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/hoc/setupTests.d.ts +3 -3
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/hoc/setupTests.tsx +1 -1
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';
|