Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,14 @@ jobs:
cache: npm

- name: Install dependencies
run: npm install
if: matrix.node-version == '8.x' || matrix.node-version == '10.x' || matrix.node-version == '12.x' || matrix.node-version == '14.x'
run: |
npm install jest@24 babel-jest@24 --save-dev
npm install
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'

- name: Install dependencies
run: npm ci
if: matrix.node-version != '8.x' && matrix.node-version != '10.x' && matrix.node-version != '12.x' && matrix.node-version != '14.x'
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'

- name: Run tests with coverage
run: npm run test -- --ci --coverage
Expand Down
2 changes: 1 addition & 1 deletion lib/__tests__/__snapshots__/AsyncParallelHooks.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`AsyncParallelBailHook should have to correct behavior 1`] = `
Object {
Expand Down
2 changes: 1 addition & 1 deletion lib/__tests__/__snapshots__/AsyncSeriesHooks.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`AsyncSeriesBailHook should have to correct behavior 1`] = `
Object {
Expand Down
2 changes: 1 addition & 1 deletion lib/__tests__/__snapshots__/HookCodeFactory.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`HookCodeFactory callTap (no args, no intercept) async with onResult 1`] = `
"var _fn1 = _x[1];
Expand Down
2 changes: 1 addition & 1 deletion lib/__tests__/__snapshots__/SyncHooks.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`SyncBailHook should have to correct behavior 1`] = `
Object {
Expand Down
Loading