Migrate your Angular library to Jest

added by JavaScript Kicks
10/31/2019 9:53:38 AM

220 Views

It's essential to notice that the my-awesome-lib-with-jest project as well as the my-awesome-lib-with-test-showcase each contains a separate jest.config.js and a tsconfig.spec.json. The thing to point out is that each project contains a specific test configuration which inherits from the shared base configuration. We put the base configuration in a jest.base.config.js file in the rootDir.


0 comments