@joystick.js/cli-canary 0.0.0-canary.120 → 0.0.0-canary.121
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
|
@@ -18,6 +18,7 @@ const handleAvaSTDERR = (stderr = "", options = {}) => {
|
|
|
18
18
|
};
|
|
19
19
|
const handleAvaSTDOUT = (stdout = "", options = {}) => {
|
|
20
20
|
try {
|
|
21
|
+
console.log(stdout);
|
|
21
22
|
if (stdout?.includes("Using configuration")) {
|
|
22
23
|
return null;
|
|
23
24
|
}
|
|
@@ -51,7 +52,6 @@ const runAva = (options = {}) => {
|
|
|
51
52
|
try {
|
|
52
53
|
const packageRoot = options?.__dirname?.split("/dist")[0];
|
|
53
54
|
const avaPath = `${packageRoot}/node_modules/.bin/ava`;
|
|
54
|
-
console.log(process.cwd());
|
|
55
55
|
return new Promise((resolve, reject) => {
|
|
56
56
|
const ava = child_process.exec(`${avaPath} --config ${options?.__dirname}/tests.config.js`, {
|
|
57
57
|
stdio: "inherit",
|
package/package.json
CHANGED
package/src/lib/dev/runTests.js
CHANGED
|
@@ -23,6 +23,7 @@ const handleAvaSTDERR = (stderr = '', options = {}) => {
|
|
|
23
23
|
|
|
24
24
|
const handleAvaSTDOUT = (stdout = '', options = {}) => {
|
|
25
25
|
try {
|
|
26
|
+
console.log(stdout);
|
|
26
27
|
// NOTE: Squash output about using a configuration file (we always do in the framework).
|
|
27
28
|
if (stdout?.includes('Using configuration')) {
|
|
28
29
|
return null;
|
|
@@ -69,8 +70,6 @@ const runAva = (options = {}) => {
|
|
|
69
70
|
const packageRoot = options?.__dirname?.split('/dist')[0];
|
|
70
71
|
const avaPath = `${packageRoot}/node_modules/.bin/ava`;
|
|
71
72
|
|
|
72
|
-
console.log(process.cwd());
|
|
73
|
-
|
|
74
73
|
return new Promise((resolve, reject) => {
|
|
75
74
|
const ava = child_process.exec(`${avaPath} --config ${options?.__dirname}/tests.config.js`, {
|
|
76
75
|
stdio: 'inherit',
|