@joystick.js/cli-canary 0.0.0-canary.128 → 0.0.0-canary.129
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
|
@@ -51,6 +51,7 @@ const handleAvaSTDIO = (ava = {}, options = {}) => {
|
|
|
51
51
|
const runAva = (options = {}) => {
|
|
52
52
|
try {
|
|
53
53
|
const avaPath = `${process.cwd()}/node_modules/.bin/ava`;
|
|
54
|
+
conasole.log("OPTIONS IN AVA", options);
|
|
54
55
|
return new Promise((resolve, reject) => {
|
|
55
56
|
const ava = child_process.exec(`${avaPath} --config ${options?.__dirname}/tests.config.js ${options?.watch ? "--watch" : ""}`, {
|
|
56
57
|
stdio: "inherit",
|
package/package.json
CHANGED
package/src/lib/dev/runTests.js
CHANGED
|
@@ -73,6 +73,8 @@ const runAva = (options = {}) => {
|
|
|
73
73
|
// add Ava as a dependency to their app in order to write tests.
|
|
74
74
|
const avaPath = `${process.cwd()}/node_modules/.bin/ava`;
|
|
75
75
|
|
|
76
|
+
conasole.log('OPTIONS IN AVA', options);
|
|
77
|
+
|
|
76
78
|
return new Promise((resolve, reject) => {
|
|
77
79
|
// NOTE: Despite using the app's node_modules path to reference Ava, we still want to reference
|
|
78
80
|
// the internal path here for the default test config in /lib/dev/tests.config.js.
|