Back to Jasmine

Jasmine Core 3.3 Release Notes

release_notes/3.3.0.md

6.2.01.9 KB
Original Source

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

  • New asynchronous matcher toBeRejectedWith

  • Show a tip for toBe failures for how to get deep equality

  • expectAsync now 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 Env deprecating old single use functions

  • Specify https for github urls in package.json


_Release Notes generated with Anchorman