diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 3ed3429..c743963 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -15,8 +15,7 @@ jobs: strategy: matrix: - # tests fail on 18.x see #87 - node-version: [14.x, 16.x] + node-version: [16.x, 18.x] mongodb-version: ['5.0'] steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index f99a709..1487311 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## Unreleased +* Add [nock fetch work around](https://github.com/nock/nock/issues/2397) to fix tests in node 18. +* Adjust workflow to run tests using node 18 and 16. Don't run tests against 14. + ## v4.4.1 (2023-06-23) ### Fixed diff --git a/package.json b/package.json index 7301f05..4861c1c 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "npm": ">=7" }, "scripts": { - "test": "jasmine", + "test": "node --no-experimental-fetch node_modules/jasmine/bin/jasmine", "coverage": "nyc npm test && nyc report --reporter=text-lcov > lcov.info", "lint": "standard" },