File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed
Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,4 @@ const {jest} = require('./src/config')
33module . exports = {
44 ...jest ,
55 coverageThreshold : null ,
6- snapshotSerializers : [
7- ...jest . snapshotSerializers ,
8- 'jest-snapshot-serializer-raw/always' ,
9- ] ,
106}
Original file line number Diff line number Diff line change 7070 "is-ci" : " ^3.0.0" ,
7171 "jest" : " ^26.6.3" ,
7272 "jest-serializer-path" : " ^0.1.15" ,
73+ "jest-snapshot-serializer-raw" : " ^1.2.0" ,
7374 "jest-watch-typeahead" : " ^0.6.2" ,
7475 "lint-staged" : " ^10.5.4" ,
7576 "lodash.camelcase" : " ^4.3.0" ,
117118 "homepage" : " https://github.com/kentcdodds/kcd-scripts#readme" ,
118119 "devDependencies" : {
119120 "jest-in-case" : " ^1.0.2" ,
120- "jest-snapshot-serializer-raw" : " ^1.2.0" ,
121121 "slash" : " ^3.0.0"
122122 }
123123}
Original file line number Diff line number Diff line change @@ -46,7 +46,10 @@ const jestConfig = {
4646 require . resolve ( 'jest-watch-typeahead/filename' ) ,
4747 require . resolve ( 'jest-watch-typeahead/testname' ) ,
4848 ] ,
49- snapshotSerializers : [ require . resolve ( 'jest-serializer-path' ) ] ,
49+ snapshotSerializers : [
50+ require . resolve ( 'jest-serializer-path' ) ,
51+ require . resolve ( 'jest-snapshot-serializer-raw/always' ) ,
52+ ] ,
5053}
5154
5255const setupFiles = [
You can’t perform that action at this time.
0 commit comments