yarn detox 16.8.0

latest releases: 20.20.3, 20.20.2, 20.20.1...
3 years ago

New integration with jest-circus (#2009, by @noomorph)

The new Detox integration with jest-circus is going to replace the former ones with jest-jasmine2 and jest-circus (aka detoxCircus.getEnv()) as soon as it completes beta testing. The corresponding deprecation notices will be introduced prior to the next major release.

If you are starting a new project, then detox init -r jest command will already equip you with the second generation of detox + jest-circus integration. In existing projects, you will have to create a new e2e/environment.js file and clear clutter from e2e/init.js file (or even delete it) — see the updated Jest guide.

The major highlight of the new integration is #1661 — you will have ***Failure.png screenshots right after an assertion fails: beforeAllFailure.png, beforeEachFailure.png, testFnFailure.png, etc, depending on where the tests fail. This feature is available only if you use the new DetoxCircusEnvironment.

For internal details, why #2009 is important, see the description of the pull request.

Don't miss a new detox release

NewReleases is sending notifications on new releases.