chore(deps): update integration testing
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
msw (source) | devDependencies | minor | ^2.2.14 -> ^2.3.0 |
sinon (source) | devDependencies | patch | ^17.0.1 -> ^17.0.2 |
MR created with the help of gitlab-org/frontend/renovate-gitlab-bot
Release Notes
mswjs/msw (msw)
v2.3.0
v2.3.0 (2024-05-08)
[!WARNING] This release changes how MSW treats unhandled exceptions in response resolvers. Previously, they were treated as request errors. Starting with this release, unhandled resolver exceptions will be coerced to
500 Unhandled Exception
mocked error responses produced by the library. Please note that you must not intentionally throw errors in your resolvers. Please useResponse.error()
to mock request/network errors. Unhandled exceptions are considered unintended and will be treated as if they happen on the actual server.
Features
- treat unhandled exceptions in handlers as 500 error responses (#2135) (
5191399
) @kettanaito - prioritize the
node
export when importingmsw/node
(#2134, transitively through @mswjs/interceptors). - add a new
unhandledException
event (#2135, docs).
server.events.on('unhandledException', ({ request, error }) => {
console.log('%s %s errored! See details below.', request.method, request.url)
console.error(error)
})
Bug Fixes
-
Disposable: make the ".dispose()" method synchronous (#2144) (
686d3d6
) @kettanaito
sinonjs/sinon (sinon)
v17.0.2
-
f6dca0ba
upgrade packages (#2595) (Carl-Erik Kopseng) -
5025d001
Avoid return and callArg* clearing each other's state (#2593) (Carl-Erik Kopseng)- Partially revert "fix returns does not override call through (#2567)"
- revert to the old manual clearing of props
-
ed068a88
Bump ip from 1.1.8 to 1.1.9 (#2587) (dependabot[bot]) -
ec4d592e
fix #2589: avoid invoking getter as side-effect (#2592) (Carl-Erik Kopseng) -
9972e1e3
Fix typo in mocks documentation (#2591) (Eduardo de la Cruz Palacios) -
52e6e4c5
chore: prefer cache option of setup-node (Morgan Roderick) -
08da1235
Bump actions/cache from 3 to 4 (dependabot[bot]) -
404ef47e
Bump nokogiri from 1.14.3 to 1.16.2 (dependabot[bot]) -
fd79612c
Update Bug_report.md (Carl-Erik Kopseng) -
1fbc812a
Re-add about (Carl-Erik Kopseng) -
fc8f6c3e
Fix formatting🤡 (Carl-Erik Kopseng) -
c57e38ae
Remove old template (Carl-Erik Kopseng) -
754bf7a9
Update Bug_report.md (Carl-Erik Kopseng) -
87eed9d2
Fix some typos at code comments (#2581) (EliyahuMachluf) -
cbae6997
Link to createStubInstance util.md docs in stubs.md (#2577) (Daniel Kaplan) -
adcf936d
Fix Mocha watch task by delegating to Node (#2573) (Carl-Erik Kopseng) -
30ad2372
prettier:write (Carl-Erik Kopseng) -
45c4d6b9
Remove outdated info from README (#2571) (Carl-Erik Kopseng) -
6c9f5c2a
Add a notice that the Fake Timers API doc is incomplete (#2570) (Carl-Erik Kopseng) -
93db3ef3
breaking: Remove sinon.defaultConfig and related modules (#2565) (Carl-Erik Kopseng)- breaking: Remove sinon.defaultConfig and related modules
default-config and get-config are leftovers from when Sinon
shipped with sinon.test (now the independent NPM module
'sinon-test').
Released by Carl-Erik Kopseng on 2024-05-07.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.