48 lines
1.9 KiB
Markdown
48 lines
1.9 KiB
Markdown
# 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 `withContext` for async expectations too
|
|
- Fixes [#641](https://github.com/jasmine/jasmine/issues/641)
|
|
|
|
* New asynchronous matcher `toBeRejectedWith`
|
|
- Merges [#1615](https://github.com/jasmine/jasmine/issues/1615) from @codymikol
|
|
- Closes [#1600](https://github.com/jasmine/jasmine/issues/1600)
|
|
- Fixes [#1595](https://github.com/jasmine/jasmine/issues/1595)
|
|
|
|
* Show a tip for `toBe` failures for how to get deep equality
|
|
- Merges [#1616](https://github.com/jasmine/jasmine/issues/1616) from @tdurtshi
|
|
- Fixes [#1614](https://github.com/jasmine/jasmine/issues/1614)
|
|
|
|
* `expectAsync` now works with non-native promises
|
|
- Merges [#1613](https://github.com/jasmine/jasmine/issues/1613) from @codymikol
|
|
- Fixes [#1612](https://github.com/jasmine/jasmine/issues/1612)
|
|
|
|
|
|
* Show status marks next to spec description in HTML reporter
|
|
- Merges [#1610](https://github.com/jasmine/jasmine/issues/1610) from @m1010j
|
|
- Fixes [#1596](https://github.com/jasmine/jasmine/issues/1596)
|
|
|
|
* Show error messages for `Error`s without a name
|
|
- Merges [#1601](https://github.com/jasmine/jasmine/issues/1601) from @nitobuendia
|
|
- Fixes [#1594](https://github.com/jasmine/jasmine/issues/1594)
|
|
|
|
* Optimized clearTimeout cpu usage
|
|
- Merges [#1599](https://github.com/jasmine/jasmine/issues/1599) from @Havunen
|
|
|
|
* Introduce a configuration object to `Env` deprecating old single use functions
|
|
- [finishes #159158038](http://www.pivotaltracker.com/story/159158038)
|
|
|
|
* Specify https for github urls in package.json
|
|
- Merges [#1597](https://github.com/jasmine/jasmine/issues/1597) @limonte
|
|
|
|
------
|
|
|
|
_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_
|