Skip to content

Commit

Permalink
Work around legacy tap-based tests choking on our tsconfig.json
Browse files Browse the repository at this point in the history
No idea why it's even resolving the config when there are no TypeScript tests to run.
  • Loading branch information
novemberborn committed Dec 4, 2023
1 parent 0090450 commit cd4228b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .taprc
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
disable-coverage: true
allow-empty-coverage: true
files:
- "test-tap/*.js"
- "test-tap/reporters/*.js"
- "test-tap/integration/*.js"
include:
- test-tap/*.js
- test-tap/reporters/*.js
- test-tap/integration/*.js
timeout: 300
plugin:
- "!@tapjs/typescript"
tsconfig: test-tap/tsconfig.json
1 change: 1 addition & 0 deletions .xo-config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module.exports = {
'test/**/fixtures',
'test-tap/fixture/snapshots/test-sourcemaps/build/**',
'test-tap/fixture/report/edgecases/ast-syntax-error.cjs',
'test-tap/fixture/**/*.ts',
'test-types',
'examples/typescript-*/**/*.ts',
],
Expand Down
2 changes: 2 additions & 0 deletions test-tap/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Empty config file so that TAP doesn't choke on ours.
{}

0 comments on commit cd4228b

Please sign in to comment.