Back to Jasmine

Jasmine 2.7.0 Release Notes

release_notes/2.7.0.md

6.2.02.7 KB
Original Source

Jasmine 2.7.0 Release Notes

Summary

This release contains a number of fixes and pull requests.

Pull Requests & Issues

  • Add class UserContext

    • Merges #1400 from @darthjee
  • Send unfocused tests through the same queue as focused tests

    • Merges #1399 from @jberney
  • PrettyPrinter allows an object to have a toString that isn't a function

  • Fix rounding in toBeCloseTo

  • When stop on failure is enabled, skip subsequent it() and beforeEach(). Note: afterEach() functions are still run, because skipping them is highly likely to pollute specs that run after the failure.

  • Only clear out the spec param for Run all link

  • Pretty printer will now use MAX_PRETTY_PRINT_ARRAY_LENGTH for objects

  • updated package glob from 7.0.5 to 7.1.2

    • Merges #1368 from @EsrefDurna
  • Fix bower.json url to be https instead of http

    • Merges #1365 from @kant
  • Fail when one of the arguments passed into toBeCloseTo matcher is null

    • Merges #1362 from @beatrichartz
  • Fixed HTML snippet in README

  • Report the random seed at the beginning and end of execution. This allows reporters to provide the seed to the user even in cases where Jasmine crashes before completing.

    • Merges #1348 from @sgravrock
  • Add ES6 map support to Jasmine

  • Added support for async before/it/after functions that return promises and added support for ES2017 async functions


_Release Notes generated with Anchorman