Back to Jasmine

Jasmine 4.2.0 Release Notes

release_notes/4.2.0.md

6.2.01.3 KB
Original Source

Jasmine 4.2.0 Release Notes

New Features

  • Added a jasmine.is asymmetric equality tester
    • Allows the use of === comparisons for specific fields of an object that should otherwise be compared with the default deep value equality logic.

Bug Fixes

  • More reliably report errors that occur late in the suite/spec lifecycle

    • Previously, an error that occurred after Jasmine started to report the suiteDone or specDone event for the current runable would not be reliably reported. Now such an error is reported on the nearest ancestor suite whose suiteDone event has not yet been reported.
  • Don't report a deprecation when a runnable uses two forms of async

    • This was made into an error in 4.0, so the deprecation is redundant.
  • Include property getter values in pretty-printed objects

Documentation Updates

  • Removed duplicate Suite and Spec jsdocs

Supported environments

jasmine-core 4.2.0 has been tested in the following environments.

EnvironmentSupported versions
Node12.17+, 14, 16, 18
Safari14-15
Chrome102
Firefox91, 101
Edge101

_Release Notes generated with Anchorman