Skip to content

Commit

Permalink
fix: make tap test-ignore a regex instead of a glob (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys authored Sep 22, 2022
1 parent 2fdcddd commit 99f3945
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/content/pkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"standard": {{{ del }}},
"tap": {
{{#if workspacePaths}}
"test-ignore": "^({{ join workspacePaths "|" }})/**",
"test-ignore": "^({{ join workspacePaths "|" }})/",
{{/if}}
"nyc-arg": [
{{#each workspaceGlobs}}
Expand Down
2 changes: 1 addition & 1 deletion tap-snapshots/test/apply/source-snapshots.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2340,7 +2340,7 @@ package.json
"version": "{{VERSION}}"
},
"tap": {
"test-ignore": "^(workspaces/a|workspaces/b)/**",
"test-ignore": "^(workspaces/a|workspaces/b)/",
"nyc-arg": [
"--exclude",
"workspaces/a/**",
Expand Down
2 changes: 1 addition & 1 deletion tap-snapshots/test/check/snapshots.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ The module file package.json needs to be updated:
"lint-all": "npm run lint -ws -iwr --if-present"
}
"tap" is missing, expected {
"test-ignore": "^(workspaces/a|workspaces/b)/**",
"test-ignore": "^(workspaces/a|workspaces/b)/",
"nyc-arg": [
"--exclude",
"workspaces/a/**",
Expand Down

0 comments on commit 99f3945

Please sign in to comment.