mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-28 08:27:03 +02:00
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:
parent
7720a1cfd8
commit
bb558ffcb9
4 changed files with 24 additions and 11 deletions
1
jest.config.mjs
vendored
1
jest.config.mjs
vendored
|
@ -80,6 +80,7 @@ export default {
|
|||
},
|
||||
snapshotSerializers: [
|
||||
'<rootDir>/jest/snapshotPathNormalizer.ts',
|
||||
'jest-serializer-ansi-escapes',
|
||||
'jest-serializer-react-helmet-async',
|
||||
],
|
||||
snapshotFormat: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue