Jasmine Core 3.3 Release Notes
Summary
This release includes a new way to configure Jasmine, the ability to provide additional context with your expectations, and other things
Changes
-
Added expect().withContext() to provide additional information in failure messages
-
Implement
withContextfor async expectations too- Fixes #641
-
New asynchronous matcher
toBeRejectedWith -
Show a tip for
toBefailures for how to get deep equality -
expectAsyncnow works with non-native promises -
Show status marks next to spec description in HTML reporter
-
Show error messages for
Errors without a name -
Optimized clearTimeout cpu usage
- Merges #1599 from @Havunen
-
Introduce a configuration object to
Envdeprecating old single use functions -
Specify https for github urls in package.json
- Merges #1597 @limonte
_Release Notes generated with Anchorman