@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.
@@ -22,10 +22,11 @@ const handleAvaSTDOUT = (stdout = "") => {
22
22
  return null;
23
23
  }
24
24
  if (stdout?.includes("No tests found")) {
25
- return CLILog("No tests found. Add tests in the /tests folder at the root of your Joystick app.", {
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joystick.js/cli-canary",
3
- "version": "0.0.0-canary.112",
3
+ "version": "0.0.0-canary.113",
4
4
  "type": "module",
5
5
  "description": "CLI for the Joystick JavaScript framework.",
6
6
  "main": "development.js",
@@ -29,10 +29,12 @@ const handleAvaSTDOUT = (stdout = '') => {
29
29
  }
30
30
 
31
31
  if (stdout?.includes('No tests found')) {
32
- return CLILog('No tests found. Add tests in the /tests folder at the root of your Joystick app.', {
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}`);