Closed anitawoodruff closed 4 years ago
Previously, you could just filter by test file name using the -- test option.
-- test
Now you can also filter by test name, to run a subset of tests within a file.
Note, instructions for using this flag were already added to the README (I didn't notice this didn't work with the runtest.js script at the time).
The -- -t syntax is because this is how it works if you run tests via the npm run test method, and I think it makes sense to keep them consistent.
-- -t
npm run test
Previously, you could just filter by test file name using the
-- test
option.Now you can also filter by test name, to run a subset of tests within a file.
Note, instructions for using this flag were already added to the README (I didn't notice this didn't work with the runtest.js script at the time).
The
-- -t
syntax is because this is how it works if you run tests via thenpm run test
method, and I think it makes sense to keep them consistent.