Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

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.

Environment Supported versions
Node 12.17+, 14, 16
Safari 14-15
Chrome 100
Firefox 91, 99
Edge 100

_Release Notes generated with Anchorman