|
| 1 | +# Jasmine NPM 3.10 Release Notes |
| 2 | + |
| 3 | +This release updates the jasmine-core dependency to 3.10.0. See the |
| 4 | +[jasmine-core release notes](https://github.com/pivotal/jasmine/blob/main/release_notes/3.10.0.md) |
| 5 | +for more information. |
| 6 | + |
| 7 | +## New features and bugfixes |
| 8 | + |
| 9 | +* Support for executing the suite multiple times |
| 10 | + * See the jasmine-core release notes for details |
| 11 | + |
| 12 | +* Display the top suite name as "top suite", not "undefined" when reporting |
| 13 | + suite-level failures |
| 14 | + |
| 15 | +* Fixed reporting of load-time errors from modules imported by specs |
| 16 | + |
| 17 | +* Made the promise returned from `Jasmine#execute` usable |
| 18 | + * Added an exitOnCompletion property to directly control whether Jasmine |
| 19 | + should make the Node process exit. Previously this could only be done by |
| 20 | + calling `Jasmine#onComplete`. |
| 21 | + * The promise returned from `Jasmine#execute` is resolved to the overall |
| 22 | + status. |
| 23 | + |
| 24 | +* Improved interface for programmatically adding files |
| 25 | + * Added Jasmine#addHelperFile |
| 26 | + * Added more clearly named synonyms for Jasmine#addSpecFiles and |
| 27 | + Jasmine#addHelperFiles, and marked the old ones deprecated |
| 28 | + |
| 29 | + |
| 30 | +## Documentation improvements |
| 31 | + |
| 32 | +* Added jsdoc for `Jasmine#env` |
| 33 | + |
| 34 | + |
| 35 | +## Internal updates |
| 36 | + |
| 37 | +* Pass stopOnSpecFailure and stopSpecOnExpectationFailure options to core, |
| 38 | + not the deprecated failFast and oneFailurePerSpec options |
| 39 | + |
| 40 | +* Replaced var with const and let |
| 41 | + |
| 42 | +* Test suite improvements |
| 43 | + |
| 44 | +------ |
| 45 | + |
| 46 | +_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_ |
0 commit comments