Skip to content

Upgrading sinon 19 to 20

Breaking19.0.5 → 20.0.0Breaking2

BreakingUpgrade verdict

2 breaking changes.

  • The usingPromise helper is gone. Use native promises or stub them directly instead.
  • The fake XMLHttpRequest and fake server helpers are no longer available in sinon.
2 items need code or config changes

Drops nise.

Installs 8 packages in all (was 12).

Breaking2
Removes usingPromise, since native promises should be used or stubbed directly.
usingPromise
Removes fakeXMLHttpRequest and fakeServer from the API.
fakeXMLHttpRequestfakeServer