sxy-test-runner 1.3.3 → 1.3.4
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/cli/lib/runTests.js
CHANGED
|
@@ -28,7 +28,7 @@ export async function runTests(config, testFiles, failingTests, customOut = unde
|
|
|
28
28
|
////out(``) // spacer before tests output
|
|
29
29
|
|
|
30
30
|
if (testFiles.length > 0) {
|
|
31
|
-
// clear load cache to allow
|
|
31
|
+
// clear load cache to allow accessing the new tets
|
|
32
32
|
await load.cache.clear();
|
|
33
33
|
for (const testFile of testFiles) {
|
|
34
34
|
const test = await loadTestFile(config, testFile);
|
|
@@ -22,9 +22,9 @@ export async function showTestLoadingError(config, test, customOut = undefined)
|
|
|
22
22
|
out(chalk.mediumred`Loading error:\n${test.error}`);
|
|
23
23
|
if (test.logs && test.logs.length > 0) {
|
|
24
24
|
out();
|
|
25
|
-
out(indent + chalk.grey`console.logs:`);
|
|
25
|
+
out( /*indent + */chalk.grey`console.logs:`);
|
|
26
26
|
test.logs.forEach(async log => {
|
|
27
|
-
log[0] = indent + log[0]
|
|
27
|
+
/*log[0] = indent + log[0]*/
|
|
28
28
|
await out(...log);
|
|
29
29
|
});
|
|
30
30
|
}
|
package/dist/cli/watch.js
CHANGED