Skip to content

Commit 5710061

Browse files
committed
Replace jest-serializer-ansi with jest-snapshot-serializer-ansi
1 parent 99bc2c0 commit 5710061

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"@testing-library/jest-dom": "^5.11.6",
5353
"@types/lz-string": "^1.3.34",
5454
"jest-in-case": "^1.0.2",
55-
"jest-serializer-ansi": "^1.0.3",
55+
"jest-snapshot-serializer-ansi": "^1.0.0",
5656
"jest-watch-select-projects": "^2.0.0",
5757
"jsdom": "^16.4.0",
5858
"kcd-scripts": "^11.0.0",

tests/setup-env.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import '@testing-library/jest-dom/extend-expect'
2-
import jestSerializerAnsi from 'jest-serializer-ansi'
2+
import jestSnapshotSerializerAnsi from 'jest-snapshot-serializer-ansi'
33

4-
expect.addSnapshotSerializer(jestSerializerAnsi)
4+
expect.addSnapshotSerializer(jestSnapshotSerializerAnsi)
55
// add serializer for MutationRecord
66
expect.addSnapshotSerializer({
77
print: (record, serialize) => {

0 commit comments

Comments
 (0)