release_notes/3.5.0.md
This is a maintenance release of Jasmine with a number of new features and fixes
This breaks each call out onto its own line, so that it's much easier to see where each call starts and how they differ. E.g. previously the output would be:
Expected spy foo to have been called with [ 'bar', 'baz', 'qux' ] but actual calls were [ [ 42, 'wibble' ], [ 'bar' 'qux' ], [ 'grault '] ]
Now it's:
Expected spy foo to have been called with:
[ 'bar', 'baz', 'qux' ]
but actual calls were:
[ 42, 'wibble' ],
[ 'bar' 'qux' ],
[ 'grault '].
Add new spy strategies to resolve and reject Promises resolveTo and rejectWith
Add the ability to have custom async matchers
Stop testing against PhantomJS
Fail Jasmine's CI build if the promise returned from jasmineBrowser.runSpecs is rejected
A bunch of other rejiggering of the Travis-CI builds to make them easier to work with
Also released a new browser runner that is being used by Jasmine
add prettier and eslint
Adds new configuration option to failSpecWithNoExpectations that will report specs without expectations as failures if enabled
Correctly propagate the Error object caught by the global error handler to reporters, etc.
Show argument diffs in toHaveBeenCalledWith failure messages
Updated arrayContaining to require actual values to be arrays
Add the ability to have custom async matchers
Allow users to set a default spy strategy
Accept configurations with Promise: undefined.
PrettyPrinter survives if objects throw in toString
Add mapContaining and setContaining asymmetric matchers
Use the same spec file pattern for both node and browser
Gemspec: Drop EOL'd property rubyforge_project
Updated async timeout message to include all of the ways that async code can be run in Jasmine
Allow users to pass property names to createSpyObj
don't attempt to normalize PNGs (gitattributes)
Add @since to most JSDoc comments
Make no expectations in HTML Reporter message a console warning
Prevent page overflow in HTML reporter under some situations by setting an explicit width
Cleanup: minor dead code removal and style fixes
Pretty Printer can now handle printing an object whose toString function has been spied upon
PrettyPrinter handles objects with invalid toString implementations
Fix toBeCloseTo matcher for Node.js 12 and Chrome 74
spyOnProperty jasmine-style error messages with usage note
spyOnProperty respects the allowRespy flag
Introduce matchers#toBeInstanceOf
Print global errors encountered during CI runs
Update contributing doc based on some of the newer tooling
Extend spyOnAllFunctions to include prototype and parent methods
Improve error handling in CI test launcher
Add new spy strategies to resolve and reject Promises resolveTo and rejectWith
Update deprecation messages to indicate future removal
Add toBeRejectedWithError matcher
Ignore internal ci.js from npm package
Fix failure messages for positive/negative infinity matchers
nit: fix typo
added #toBeTrue and #toBeFalse matchers
_Release Notes generated with Anchorman