Skip to content

Commit

Permalink
Simplify the package script tests.
Browse files Browse the repository at this point in the history
Removed the Node.js CLI option `--unhandled-rejections=throw` in the package script `tests` as it’s now the default for all supported Node.js versions.
  • Loading branch information
jaydenseric committed Aug 27, 2023
1 parent c779e70 commit 5c2270a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

- Updated GitHub Actions CI config:
- Updated the tested Node.js versions to v18, v20.
- Removed the Node.js CLI option `--unhandled-rejections=throw` in the package script `tests` as it’s now the default for all supported Node.js versions.

## 16.0.2

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"eslint": "eslint .",
"prettier": "prettier -c .",
"types": "tsc -p jsconfig.json",
"tests": "coverage-node --unhandled-rejections=throw test.mjs",
"tests": "coverage-node test.mjs",
"test": "npm run eslint && npm run prettier && npm run types && npm run tests",
"prepublishOnly": "npm test"
}
Expand Down

0 comments on commit 5c2270a

Please sign in to comment.