Skip to content

Upgrading sinon 4 to 5

Breaking4.5.0 → 5.1.1Breaking1New3Changed2Fixed7Other1

BreakingUpgrade verdict

1 breaking change.

  • The old way to reset a spy is gone; use the replacement reset method instead.
1 item needs code or config changes

No longer runs postinstall when installed.

Breaking1
Removes the deprecated spy.reset method.
spy.reset