1 Einträge.

Using Jest with Angular

Publiziert am 19 Juni 2018 unter AngularJavascriptJestTesting von Daniel

We are using Angular to build complex business application since the early version of AngularJS. While we love the framework and its rich ecosystem, we always struggled with the painful testing experience based on Jasmine and Karma. Our main pain points were the performance and the missing functionality to rerun only changed tests. With Jest, a testing platform from Facebook, these two points are solved in an elegant way and in addition it offers even more benefits.

This article shows how to configure your Angular application to integrate Jest. The article assumes that you are using an Angular CLI v6.0.x generated project from Angular v6.0.x. But it works too on earlier version of Angular projects.