diff --git a/.circleci/config.yml b/.circleci/config.yml index 42241a70c7d4..e6e5330970b9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,7 +12,7 @@ aliases: app-dir: ~/jest orbs: - node: circleci/node@4.0.0 + node: circleci/node@4.7.0 jobs: test-node: @@ -70,5 +70,6 @@ workflows: partial: true matrix: parameters: - node-version: ['10', '12', '15', '16'] + # https://github.com/nodejs/node/issues/40030 + node-version: ['10', '12', '15', '16.8'] - test-jest-jasmine diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 34cafe152b98..4b90243502db 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -69,7 +69,8 @@ jobs: strategy: fail-fast: false matrix: - node-version: [10.x, 12.x, 14.x, 15.x, 16.x] + # https://github.com/nodejs/node/issues/40030 + node-version: [10.x, 12.x, 14.x, 15.x, 16.8] os: [ubuntu-latest, macOS-latest, windows-latest] runs-on: ${{ matrix.os }} needs: prepare-yarn-cache diff --git a/examples/mongodb/setup.js b/examples/mongodb/setup.js index 17e5159cc1e8..e7ca973fa043 100644 --- a/examples/mongodb/setup.js +++ b/examples/mongodb/setup.js @@ -18,7 +18,7 @@ module.exports = async () => { const mongoConfig = { mongoDBName: 'jest', - mongoUri: await mongod.getConnectionString(), + mongoUri: await mongod.getUri(), }; // Write global config to disk because all tests run in different contexts.