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
Thanks for the report! Fixed on the latest publish. From the commit message:
Don't require argv file list if specified in taprc
Previously, checking for specified test files was done by looking at
argv.length. So, if a `files` config was specified in taprc, it would
work if a `--` was passed in on the command line, but otherwise would
dump the usage message one sees when running `tap` with no arguments (or
would wait for stdin if not run on a TTY).
Fix #438
My package.json test script runs
TAP_RCFILE=./.taprc tap
and my.taprc
file looks like this:Expected result: running
yarn test
will run the tests in test.js.Actual result: I get a usage blob from running
yarn test
Workaround: I can get the expected result if I append a
--
to the end of the script. Why is this?The text was updated successfully, but these errors were encountered: