Jest Circus Runner Support
As of Jest 27, jest’s default test runner was changed from jest-jasmine
to jest-circus
(which is meant to improve error messages, maintainability, and extensibility). Previously Wallaby always used jest-jasmine
as the test runner when running tests in Jest regardless of what was configured. Wallaby now supports uses jest-circus
when it is configured for your project.
Also note that some jest options and features are only available when using jest-circus
, such as inectGlobals and jest.retryTimes.