Skip to content

Commit

Permalink
node 10
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Feb 6, 2022
1 parent d14f994 commit 1efd137
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ module.exports = {
snapshotFormat: {
escapeString: false,
},
snapshotSerializers: [require.resolve('pretty-format/ConvertAnsi')],
snapshotSerializers: [
// change to require.resolve('pretty-format/ConvertAnsi') when we drop Node 10
'<rootDir>/packages/pretty-format/build/plugins/ConvertAnsi.js',
],
testPathIgnorePatterns: [
'/__arbitraries__/',
'/__typetests__/',
Expand Down

0 comments on commit 1efd137

Please sign in to comment.