@joystick.js/cli-canary 0.0.0-canary.131 → 0.0.0-canary.133
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/functions/index.js +2 -2
- package/dist/functions/test/index.js +4 -0
- package/dist/lib/dev/index.js +0 -1
- package/dist/lib/dev/runTests.js +0 -1
- package/package.json +1 -1
- package/src/functions/index.js +2 -2
- package/src/functions/test/index.js +5 -0
- package/src/lib/dev/index.js +1 -3
- package/src/lib/dev/runTests.js +0 -2
package/dist/functions/index.js
CHANGED
|
@@ -223,13 +223,13 @@ var functions_default = {
|
|
|
223
223
|
args: {
|
|
224
224
|
watch: {
|
|
225
225
|
set: !!rawArgs.includes("watch"),
|
|
226
|
-
parent: "
|
|
226
|
+
parent: "test",
|
|
227
227
|
value: !!rawArgs.includes("watch"),
|
|
228
228
|
description: "Run joystick test in watch mode."
|
|
229
229
|
}
|
|
230
230
|
},
|
|
231
231
|
options: {},
|
|
232
|
-
function: test
|
|
232
|
+
function: test
|
|
233
233
|
},
|
|
234
234
|
update: {
|
|
235
235
|
set: !!rawArgs.includes("update"),
|
package/dist/lib/dev/index.js
CHANGED
|
@@ -515,7 +515,6 @@ const dev = async (options, { resolve, reject }) => {
|
|
|
515
515
|
if (options?.environment === "test") {
|
|
516
516
|
process.loader.stop();
|
|
517
517
|
const databaseProcessIds = getDatabaseProcessIds();
|
|
518
|
-
console.log("OPS", options);
|
|
519
518
|
await runTests({
|
|
520
519
|
watch: options?.watch,
|
|
521
520
|
__dirname,
|
package/dist/lib/dev/runTests.js
CHANGED
|
@@ -51,7 +51,6 @@ const handleAvaSTDIO = (ava = {}, options = {}) => {
|
|
|
51
51
|
const runAva = (options = {}) => {
|
|
52
52
|
try {
|
|
53
53
|
const avaPath = `${process.cwd()}/node_modules/.bin/ava`;
|
|
54
|
-
console.log("OPTIONS IN AVA", options);
|
|
55
54
|
return new Promise((resolve, reject) => {
|
|
56
55
|
const ava = child_process.exec(`${avaPath} --config ${options?.__dirname}/tests.config.js ${options?.watch ? "--watch" : ""}`, {
|
|
57
56
|
stdio: "inherit",
|
package/package.json
CHANGED
package/src/functions/index.js
CHANGED
|
@@ -226,13 +226,13 @@ export default {
|
|
|
226
226
|
args: {
|
|
227
227
|
watch: {
|
|
228
228
|
set: !!rawArgs.includes('watch'),
|
|
229
|
-
parent: '
|
|
229
|
+
parent: 'test',
|
|
230
230
|
value: !!rawArgs.includes('watch'),
|
|
231
231
|
description: 'Run joystick test in watch mode.',
|
|
232
232
|
},
|
|
233
233
|
},
|
|
234
234
|
options: {},
|
|
235
|
-
function: test
|
|
235
|
+
function: test,
|
|
236
236
|
},
|
|
237
237
|
update: {
|
|
238
238
|
set: !!rawArgs.includes('update'),
|
package/src/lib/dev/index.js
CHANGED
|
@@ -619,9 +619,7 @@ const dev = async (options, { resolve, reject }) => {
|
|
|
619
619
|
if (options?.environment === 'test') {
|
|
620
620
|
process.loader.stop();
|
|
621
621
|
const databaseProcessIds = getDatabaseProcessIds();
|
|
622
|
-
|
|
623
|
-
console.log('OPS', options);
|
|
624
|
-
|
|
622
|
+
|
|
625
623
|
await runTests({
|
|
626
624
|
watch: options?.watch,
|
|
627
625
|
__dirname,
|
package/src/lib/dev/runTests.js
CHANGED
|
@@ -73,8 +73,6 @@ 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
|
-
console.log('OPTIONS IN AVA', options);
|
|
77
|
-
|
|
78
76
|
return new Promise((resolve, reject) => {
|
|
79
77
|
// NOTE: Despite using the app's node_modules path to reference Ava, we still want to reference
|
|
80
78
|
// the internal path here for the default test config in /lib/dev/tests.config.js.
|