@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/hoc/setupTests.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export default function ({ sqlDirectory, logsDirectory }
|
|
2
|
-
sqlDirectory
|
|
3
|
-
logsDirectory
|
|
1
|
+
export default function ({ sqlDirectory, logsDirectory }?: {
|
|
2
|
+
sqlDirectory?: string;
|
|
3
|
+
logsDirectory?: string;
|
|
4
4
|
}): void;
|
package/dist/index.cjs.js
CHANGED
|
@@ -4253,7 +4253,7 @@ function validSQL$1 (sql) {
|
|
|
4253
4253
|
validSQL.push({ [expect.getState().currentTestName.replaceAll(" ", "_").toLowerCase()]: sql });
|
|
4254
4254
|
}
|
|
4255
4255
|
|
|
4256
|
-
function setupTests ({ sqlDirectory = './logs/rest/', logsDirectory = './logs/tests/' }) {
|
|
4256
|
+
function setupTests ({ sqlDirectory = './logs/rest/', logsDirectory = './logs/tests/' } = {}) {
|
|
4257
4257
|
const originalWindowLocation = window.location;
|
|
4258
4258
|
const testName = () => expect.getState().currentTestName?.replaceAll(" ", "_").toLowerCase();
|
|
4259
4259
|
const validSqlFile = () => sqlDirectory + testName() + '.json';
|