Skip to content

Latest commit

 

History

History
108 lines (76 loc) · 4.84 KB

2.6.0.md

File metadata and controls

108 lines (76 loc) · 4.84 KB

Jasmine 2.6.0 Release Notes

Summary

This release contains a number of fixes and pull requests.

Pull Requests & Issues

Updating introduction url to last version

  • Merges #1316 from @rachelcarmena
  • Throw a recognizable Error message when fail outside of a spec.

  • Allow the matcher provide a custom error message

  • Fix the order in which afterAll hooks are run to match afterEach

  • Add matchers for positive and negative infinity

  • Add a first pass at JSDocs for the intended public API

  • Pretty print objects passed to fail method

  • Properly check for Error constructor from a different frame

  • Add toHaveBeenCalledBefore matcher

    • Merges #1242 from @DamienCassou
  • Collect unhandled exceptions and pass them to the current runnable

  • Nicer error messages for spyOn when null is provided

  • Require arguments to beforeEach, it, etc, to be actual functions

  • Update MIT.LICENSE for new year

    • Merges #1249 from @Scottkao85
  • Update README.md for new year

    • Merges #1248 from @Nebojsaa
  • Remove unused message param from Suite#pend

  • Fix bug where before/afterAll were being executed in disabled suites.

  • Make toEqual matcher report the difference between objects

    • Merges #1163 from @benchristel
    • Fixes #675
    • Merges #1236 from @benchristel
  • Implement spies for get/set functions on accessor properties

  • When the HtmlReporter has a 'spec' query param, the spec list only shows matching specs/suites

  • createSpyObj may use object for method/response shorthand

    • Merges #1101 from @mbildner
  • Separate clear stack and run it after each spec

  • Now spies preserve original function arity

  • Added support for ES6 sets to toContain and toEqual.

    • Merges #1067 from @alur
  • Correctly pretty print objects from other contexts (e.g. iframes) and which do not override toString

  • Pass custom testers to asymmetric testers

  • Fix bad url in README

    • Merges #1215 from @mattc41190

_Release Notes generated with Anchorman