File tree Expand file tree Collapse file tree 5 files changed +10
-1
lines changed Expand file tree Collapse file tree 5 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 11require ( 'jest-preset-angular/ngcc-jest-processor' ) ;
2+ const snapshotSerializers = require ( 'jest-preset-angular/build/serializers/index' ) ;
23
34/** @type {import('@jest/types').Config.InitialOptions } */
45module . exports = {
@@ -9,5 +10,6 @@ module.exports = {
910 stringifyContentPathRegex : '\\.html$' ,
1011 } ,
1112 } ,
13+ snapshotSerializers,
1214 setupFilesAfterEnv : [ '<rootDir>/setup-jest.ts' ] ,
1315} ;
Original file line number Diff line number Diff line change 11require ( 'jest-preset-angular/ngcc-jest-processor' ) ;
2+ const snapshotSerializers = require ( 'jest-preset-angular/build/serializers/index' ) ;
23
34/** @type {import('@jest/types').Config.InitialOptions } */
45module . exports = {
@@ -9,5 +10,6 @@ module.exports = {
910 stringifyContentPathRegex : '\\.html$' ,
1011 } ,
1112 } ,
13+ snapshotSerializers,
1214 setupFilesAfterEnv : [ '<rootDir>/setup-jest.ts' ] ,
1315} ;
Original file line number Diff line number Diff line change 11require ( 'jest-preset-angular/ngcc-jest-processor' ) ;
2+ const snapshotSerializers = require ( 'jest-preset-angular/build/serializers/index' ) ;
23
34/** @type {import('@jest/types').Config.InitialOptions } */
45module . exports = {
@@ -9,5 +10,6 @@ module.exports = {
910 stringifyContentPathRegex : '\\.html$' ,
1011 } ,
1112 } ,
13+ snapshotSerializers,
1214 setupFilesAfterEnv : [ '<rootDir>/setup-jest.ts' ] ,
1315} ;
Original file line number Diff line number Diff line change 11require ( 'jest-preset-angular/ngcc-jest-processor' ) ;
2+ const snapshotSerializers = require ( 'jest-preset-angular/build/serializers/index' ) ;
23
34/** @type {import('@jest/types').Config.InitialOptions } */
45module . exports = {
@@ -9,5 +10,6 @@ module.exports = {
910 stringifyContentPathRegex : '\\.html$' ,
1011 } ,
1112 } ,
13+ snapshotSerializers,
1214 setupFilesAfterEnv : [ '<rootDir>/setup-jest.ts' ] ,
1315} ;
Original file line number Diff line number Diff line change 55 "license" : " MIT" ,
66 "main" : " build/index.js" ,
77 "exports" : {
8- "." : " ./dist/index.js" ,
8+ "." : " ./build/index.js" ,
9+ "./build/*" : " ./build/*.js" ,
910 "./presets" : " ./presets/index.js" ,
1011 "./jest-preset" : " ./jest-preset.js" ,
1112 "./setup-jest" : " ./setup-jest.js" ,
You can’t perform that action at this time.
0 commit comments