Skip to content

Commit

Permalink
ignore unhandled requests for msw
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Apr 22, 2022
1 parent 7a012f4 commit f9cea84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mocks/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import "~/utils";

const server = setupServer();

server.listen({ onUnhandledRequest: "warn" });
server.listen({ onUnhandledRequest: "bypass" });
console.info("🔶 Mock server running");

process.once("SIGINT", () => server.close());
Expand Down

0 comments on commit f9cea84

Please sign in to comment.