You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regardless of how I try this, I always get "Couldn’t find any files to test"
root@7d5a158f4fef:/app# cat package.json
{
"name": "docker-ava",
"scripts": {
"test": "ava"
},
"devDependencies": {
"ava": "*"
}
}
root@7d5a158f4fef:/app# ls -lah code
total 8.0K
drwxr-xr-x 3 root root 96 Mar 13 2017 .
drwxr-xr-x 1 root root 4.0K Apr 13 15:26 ..
-rw-r--r-- 1 root root 82 Mar 13 2017 test.js
root@7d5a158f4fef:/app# npm test *
> docker-ava@ test /app
> ava "code" "node_modules" "package-lock.json" "package.json"
✖ Couldn’t find any files to test
npm ERR! Test failed. See above for more details.
root@7d5a158f4fef:/app# npm test */test.js
> docker-ava@ test /app
> ava "code/test.js"
✖ Couldn’t find any files to test
npm ERR! Test failed. See above for more details.
root@7d5a158f4fef:/app# npm test code/test.js
> docker-ava@ test /app
> ava "code/test.js"
✖ Couldn’t find any files to test
npm ERR! Test failed. See above for more details.
root@7d5a158f4fef:/app# npm test /app/code/test.js
> docker-ava@ test /app
> ava "/app/code/test.js"
✖ Couldn’t find any files to test
npm ERR! Test failed. See above for more details.
root@7d5a158f4fef:/app# npx ava
✖ Couldn’t find any files to test
root@7d5a158f4fef:/app#
And maybe how you think AVA could handle this
I am aware of issue #2373, so I know eventually AVA will tell me what I'm doing wrong. However, for now I'd like some feedback from the maintainers to guide me in the right direction.
The text was updated successfully, but these errors were encountered:
Please provide details about:
Run a test in /app/code/test.js
Regardless of how I try this, I always get "Couldn’t find any files to test"
I am aware of issue #2373, so I know eventually AVA will tell me what I'm doing wrong. However, for now I'd like some feedback from the maintainers to guide me in the right direction.
The text was updated successfully, but these errors were encountered: