This release updates the jasmine-core dependency to 3.10.0. See the jasmine-core release notes for more information.
-
Support for executing the suite multiple times
- See the jasmine-core release notes for details
-
Display the top suite name as "top suite", not "undefined" when reporting suite-level failures
-
Fixed reporting of load-time errors from modules imported by specs
-
Made the promise returned from
Jasmine#execute
usable- Added an exitOnCompletion property to directly control whether Jasmine
should make the Node process exit. Previously this could only be done by
calling
Jasmine#onComplete
. - The promise returned from
Jasmine#execute
is resolved to the overall status.
- Added an exitOnCompletion property to directly control whether Jasmine
should make the Node process exit. Previously this could only be done by
calling
-
Improved interface for programmatically adding files
- Added Jasmine#addHelperFile
- Added more clearly named synonyms for Jasmine#addSpecFiles and Jasmine#addHelperFiles, and marked the old ones deprecated
- Added jsdoc for
Jasmine#env
-
Pass stopOnSpecFailure and stopSpecOnExpectationFailure options to core, not the deprecated failFast and oneFailurePerSpec options
-
Replaced var with const and let
-
Test suite improvements
The jasmine NPM package has been tested on Node 12, 14, and 16. See the jasmine-core release notes for supported browsers.
_Release Notes generated with Anchorman