test(logger): use jest-serializer-ansi-escapes (#7685)

* chore(logger): use jest-serializer-ansi-escapes

* move serialiser to jest.config
This commit is contained in:
Tom Mrazauskas 2022-06-27 10:03:51 +03:00 committed by GitHub
parent 7720a1cfd8
commit bb558ffcb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 24 additions and 11 deletions

1
jest.config.mjs vendored
View file

@ -80,6 +80,7 @@ export default {
},
snapshotSerializers: [
'<rootDir>/jest/snapshotPathNormalizer.ts',
'jest-serializer-ansi-escapes',
'jest-serializer-react-helmet-async',
],
snapshotFormat: {