DEV Community

Cover image for Ng-News: Episode 22/17
Rainer Hahnekamp
Rainer Hahnekamp

Posted on

Ng-News: Episode 22/17

This is a weekly posting, covering the latest updates from the Angular community.

Cypress 9.6

Cypress, the most used E2E testing framework in Angular, released version 9.6. It comes with a significant improvement, if not even a game-changer.

Until now, if you had a test where you had to go to another domain, e.g. authentication, you had to find workarounds. And sometimes, this was reason enough not to use Cypress.

That's a thing of the past. From now on, you can switch domains within a test as often as you want.

Jest 28

Jest had a new major release with version 28. It contains a lot of breaking changes but also quite some new additions.

For example sharding: You can distribute your tests to multiple machines. CI instances are a good use case.

Jest added new features to fakeTimers as well. It allows you to control time and therefore also asynchronity.

Support for ECMAScript modules hasn't been so good. Unfortunately, there were no improvements in that area.

Jest 28 Release Notes

Miscellaneous

New Angular team member

Pawel Kozlowski, known for his Angular contributions, especially for Standalone Components, is now an official member of the Angular team.

nx Conf Lite

We also had nx conf lite, a conference about the Angular CLI extension nx. The recording is available on YouTube.

Speaking of nx, respectively mono repositories: Lerna, the tool for mono repositories in the JavaScript space, is more or less deprecated. So if you are using it, maybe nx might be a suitable replacement.

Testing & Asynchronity

Stephen Cooper wrote an article on testing in Angular and focuses especially on how to deal with asynchronity.

Top comments (0)