@joystick.js/cli-canary 0.0.0-canary.112 → 0.0.0-canary.113
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/lib/dev/runTests.js
CHANGED
|
@@ -22,10 +22,11 @@ const handleAvaSTDOUT = (stdout = "") => {
|
|
|
22
22
|
return null;
|
|
23
23
|
}
|
|
24
24
|
if (stdout?.includes("No tests found")) {
|
|
25
|
-
|
|
25
|
+
CLILog("No tests found. Add tests in the /tests folder at the root of your Joystick app.", {
|
|
26
26
|
level: "danger",
|
|
27
27
|
docs: "https://cheatcode.co/docs/joystick/test/setup"
|
|
28
28
|
});
|
|
29
|
+
return process.exit(0);
|
|
29
30
|
}
|
|
30
31
|
} catch (exception) {
|
|
31
32
|
throw new Error(`[actionName.handleAvaSTDOUT] ${exception.message}`);
|
package/package.json
CHANGED
package/src/lib/dev/runTests.js
CHANGED
|
@@ -29,10 +29,12 @@ const handleAvaSTDOUT = (stdout = '') => {
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
if (stdout?.includes('No tests found')) {
|
|
32
|
-
|
|
32
|
+
CLILog('No tests found. Add tests in the /tests folder at the root of your Joystick app.', {
|
|
33
33
|
level: 'danger',
|
|
34
34
|
docs: 'https://cheatcode.co/docs/joystick/test/setup',
|
|
35
35
|
});
|
|
36
|
+
|
|
37
|
+
return process.exit(0);
|
|
36
38
|
}
|
|
37
39
|
} catch (exception) {
|
|
38
40
|
throw new Error(`[actionName.handleAvaSTDOUT] ${exception.message}`);
|