Upgrading sinon 19 to 20
Breaking19.0.5 → 20.0.0Breaking2
BreakingUpgrade verdict
2 breaking changes.
In plain terms
- 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.
Must act 2 items need code or config changes
Drops nise.
Installs 8 packages in all (was 12).
What you must change
Breaking2
Removes usingPromise, since native promises should be used or stubbed directly.
usingPromiseRemoves fakeXMLHttpRequest and fakeServer from the API.
fakeXMLHttpRequestfakeServer