Skip to content

Commit a4ec129

Browse files
committed
Update snapshots to be compatible with jest 29
1 parent df17ad3 commit a4ec129

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/nodejs.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,12 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
node-version: [18.x, 19.x, 20.x]
20-
jest-version: [27, 28, 29]
19+
node-version: [12.x, 13.x, 14.x, 16.x, 17.x, 18.x, 19.x, 20.x]
20+
jest-version: [24, 25, 26, 27, 28, 29]
21+
exclude:
22+
# jest@27 doesn't support node@13
23+
- node-version: 13.x
24+
jest-version: 27
2125
runs-on: ubuntu-latest
2226

2327
steps:

jest.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,9 @@ module.exports = {
1313
"<rootDir>/integration-tests/testResultsProcessor/",
1414
"<rootDir>/integration-tests/reporter/"
1515
],
16-
reporters: ['default', '.']
16+
reporters: ['default', '.'],
17+
snapshotFormat: {
18+
escapeString: true,
19+
printBasicPrototype: true
20+
}
1721
};

0 commit comments

Comments
 (0)