Move reference to test-setup.ts to angular.json
Move the reference to the test-setup.ts file in the contact-model library from jest.config.js to angular.json, to match how things are set up for the applications.master
							parent
							
								
									3b43037e66
								
							
						
					
					
						commit
						2c6fde0acc
					
				|  | @ -21,7 +21,8 @@ | |||
|           "builder": "@nrwl/jest:jest", | ||||
|           "options": { | ||||
|             "jestConfig": "libs/contact-model/jest.config.js", | ||||
|             "tsConfig": "libs/contact-model/tsconfig.spec.json" | ||||
|             "tsConfig": "libs/contact-model/tsconfig.spec.json", | ||||
|             "setupFile": "libs/contact-model/src/test-setup.ts" | ||||
|           } | ||||
|         } | ||||
|       } | ||||
|  |  | |||
|  | @ -6,5 +6,4 @@ module.exports = { | |||
|   }, | ||||
|   moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'html'], | ||||
|   coverageDirectory: '../../coverage/libs/contact-model', | ||||
|   setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'] | ||||
| }; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue