This release contains a number of fixes and pull requests.
Updating introduction url to last version
- Merges #1316 from @rachelcarmena
-
Throw a recognizable Error message when
fail
outside of a spec.- Fixes #1017
-
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
- Fixes #596
-
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
whennull
is provided- Fixes #1258
-
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- See #1132
-
Fix bug where before/afterAll were being executed in disabled suites.
-
Make toEqual matcher report the difference between objects
-
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