Skip to content

Commit

Permalink
feat(testament): add default file exclusions (/test/fixtures)
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Sep 21, 2022
1 parent 99e789e commit 75049b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/testament/src/cli.ts
Expand Up @@ -20,7 +20,7 @@ const parseOpts = (args: string[], i = 2): TestamentArgs | number => {
csv: false,
json: false,
watch: false,
exclude: [],
exclude: ["test/fixtures"],
rest: [],
};
for (; i < args.length; i++) {
Expand Down Expand Up @@ -66,7 +66,7 @@ Usage: testament [opts] path1 [path2...] [opts]
Options:
--all, -a Run all tests (don't stop at 1st failure)
--exclude, -e Exclude path prefix (multiple)
--exclude, -e Exclude path prefix (multiple, always 'test/fixtures')
--csv Export results as CSV
--json Export results as JSON
-o Output file path for exported results
Expand Down

0 comments on commit 75049b9

Please sign in to comment.