Skip to content

Commit 7653b8f

Browse files
chore: update jest (#207)
1 parent 660c6a9 commit 7653b8f

7 files changed

Lines changed: 2735 additions & 4177 deletions

File tree

.github/workflows/test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,14 @@ jobs:
7070
cache: npm
7171

7272
- name: Install dependencies
73-
run: npm install
74-
if: matrix.node-version == '8.x' || matrix.node-version == '10.x' || matrix.node-version == '12.x' || matrix.node-version == '14.x'
73+
run: |
74+
npm install jest@24 babel-jest@24 --save-dev
75+
npm install
76+
if: matrix.node-version == '8.x' || matrix.node-version == '10.x' || matrix.node-version == '12.x' || matrix.node-version == '14.x' || matrix.node-version == '16.x'
7577

7678
- name: Install dependencies
7779
run: npm ci
78-
if: matrix.node-version != '8.x' && matrix.node-version != '10.x' && matrix.node-version != '12.x' && matrix.node-version != '14.x'
80+
if: matrix.node-version != '8.x' && matrix.node-version != '10.x' && matrix.node-version != '12.x' && matrix.node-version != '14.x' && matrix.node-version != '16.x'
7981

8082
- name: Run tests with coverage
8183
run: npm run test -- --ci --coverage

lib/__tests__/__snapshots__/AsyncParallelHooks.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Jest Snapshot v1, https://goo.gl/fbAQLP
1+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
22

33
exports[`AsyncParallelBailHook should have to correct behavior 1`] = `
44
Object {

lib/__tests__/__snapshots__/AsyncSeriesHooks.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Jest Snapshot v1, https://goo.gl/fbAQLP
1+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
22

33
exports[`AsyncSeriesBailHook should have to correct behavior 1`] = `
44
Object {

lib/__tests__/__snapshots__/HookCodeFactory.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Jest Snapshot v1, https://goo.gl/fbAQLP
1+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
22

33
exports[`HookCodeFactory callTap (no args, no intercept) async with onResult 1`] = `
44
"var _fn1 = _x[1];

lib/__tests__/__snapshots__/SyncHooks.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Jest Snapshot v1, https://goo.gl/fbAQLP
1+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
22

33
exports[`SyncBailHook should have to correct behavior 1`] = `
44
Object {

0 commit comments

Comments
 (0)