Update content/blog/writing-better-angular-tests/index.md

Co-authored-by: Corbin Crutchley <crutchcorn@gmail.com>
This commit is contained in:
Robert Mennell
2020-05-09 00:13:55 -07:00
committed by GitHub
parent 985378eb4a
commit 5dcfd4fa27

View File

@@ -56,7 +56,7 @@ Writing tests that don't rely on testing Angular, but instead rely on the DOM, a
Thankfully, writing tests like these have been made simple by a testing library simply called "[Testing Library](https://testing-library.com)." Testing Library is a collection of libraries for various frameworks and applications. One of the supported libraries is Angular, through the [Angular Testing Library](https://testing-library.com/docs/angular-testing-library/intro). This can be used to test Angular apps in a simple DOM focused manner with some nice helpers to make it even easier to work with. It relies on [Jest](https://jestjs.io/) as an extension to the Jasmine testing framework to make testing easier, and more end-results focused. With that tooling, a project can have tests much less focused on Angular and much more focused on what is being made.
## Transitioning to Jest and Angular Testing Library
## Transitioning to Jest and Angular Testing Library {#transitioning-to-jest}
### Get rid of Karma