jest-preset-angular
jest-preset-angular copied to clipboard
Jest configuration preset for Angular projects.
### Version 27.5.1 ### Steps to reproduce this occurs to all spec files in codebase that attempt to operate on their local files in their local directory `import { LoginComponent...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [yarn](https://togithub.com/yarnpkg/berry) | [`3.2.1` -> `3.2.2`](https://renovatebot.com/diffs/npm/yarn/3.2.1/3.2.2) | [](https://docs.renovatebot.com/merge-confidence/)...
### Version 11.0.1 ### Steps to reproduce @leosvelperez created a repo showing the failure: https://github.com/leosvelperez/ng-jest-type-issue Just clone the repo, install depdencies and execute the tests using `jest`. (For reference, this...
I think this not a secret that "Angular + Jest" isn't a popular solution. So it's quite hard to find any information in the internet if you face any problems....
### 🚀 Feature Proposal Publish the [changelog](https://github.com/thymikee/jest-preset-angular/blob/main/CHANGELOG.md) on releases ### Motivation This would match how Angular formats their release notes, that consistency would be familiar for those looking for release...
### Version 11.1.2 ### Steps to reproduce 1. Clone https://github.com/SimonMueller/jest-preset-angular-open-handle-reproduction 2. Run `npm i` 3. Run `npm t` 4. See test output ### Expected behavior No open handles after tests...
## 🚀 Feature Proposal Currently all object props are serialized as Object, which do not have any sense with snapshots ## Motivation Real serializer will help to increase real coverage...
## 🐛 Bug Report Attempting to test components that inject a service imported from a namespace fails in Jest 27 / Angular 12. ## To Reproduce 1. `ng new my-app`...
Performance Improvements (similiar ng-bullet) ## Feature Request A large Unit Test (23 Tests) is running for ~10minutes. There is a library (ng-bullet), which avoids recompiling everything used to configure the...
## 🚀 Feature Proposal Support NativeScriptTestingModule. ## Motivation NativeScript is maturing a lot, recently doing a complete overhaul of their Angular support. ## Example From what I can tell from...