Back to Jasmine

Jasmine 4.1.0 Release Notes

release_notes/4.1.0.md

6.2.01.8 KB
Original Source

Jasmine 4.1.0 Release Notes

New Features and Bug Fixes

  • toBeCloseTo treats Infinity and -Infinity as close to themselves

  • Replaced uses of deprecated String.prototype.substr()

    • Merges #1962 from @CommanderRoot
  • Removed obsolete vendor-specific background-size CSS rules

  • Added toHaveSpyInteractions matcher

  • Pretty-print [new String("")] as "[ '' ]", not "[]"

  • Fixed cloning of Date objects in Spy#calls#saveArgumentsByValue

  • Include the name of the suite in the empty suite error message

  • toEqual checks keys that are Symbols

Documentation Updates

  • Replaced redundant installation instructions in README with link to docs

  • Added links to usage instructions to README

Supported environments

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

EnvironmentSupported versions
Node12.17+, 14, 16
Safari14-15
Chrome100
Firefox91, 99
Edge100

_Release Notes generated with Anchorman