Skip to content

Commit

Permalink
Fix weird tap testing failures
Browse files Browse the repository at this point in the history
Also adds 16.x (latest LTS) to testing suite.

xref: tapjs/tapjs#624

The issue is closed, but it is still being reported.

xref: nodejs/citgm#852 (comment)

This is the fix being used in this commit.
  • Loading branch information
gfyoung committed Nov 3, 2021
1 parent 7cc95d2 commit b44d72a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x]
node-version: [12.x, 14.x, 16.x]

steps:
- uses: actions/checkout@v1
Expand Down
9 changes: 5 additions & 4 deletions package.json
Expand Up @@ -14,10 +14,11 @@
"test:lint": "eslint .",
"test:tsc": "tsc ./test/ts/simple.ts --lib ES6",
"test:ts": "node ./test/ts/simple.js",
"test:git": "tap test/git-check-ignore.js",
"test:ignore": "tap test/ignore.js",
"test:others": "tap test/others.js",
"test:cases": "tap test/*.js --coverage",
"tap": "tap --reporter classic",
"test:git": "npm run tap test/git-check-ignore.js",
"test:ignore": "npm run tap test/ignore.js",
"test:others": "npm run tap test/others.js",
"test:cases": "npm run tap test/*.js -- --coverage",
"test:only": "npm run test:lint && npm run test:tsc && npm run test:ts && npm run test:cases",
"test": "npm run test:only",
"test:win32": "IGNORE_TEST_WIN32=1 npm run test",
Expand Down

0 comments on commit b44d72a

Please sign in to comment.