Skip to content

Commit

Permalink
bypass unhandle reqs in msw
Browse files Browse the repository at this point in the history
  • Loading branch information
andnorda committed May 13, 2024
1 parent 69e0e1f commit 9de6896
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/server/src/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ export default () =>
http.post(`${env.VARSEL_API_URL}/beskjed/inaktiver`, () =>
HttpResponse.json({ success: true }),
),
).listen();
).listen({
onUnhandledRequest: "bypass",
});

0 comments on commit 9de6896

Please sign in to comment.