diff --git a/lib/msw-config.ts b/lib/msw-config.ts index 0ccf0a0..d58ad8b 100644 --- a/lib/msw-config.ts +++ b/lib/msw-config.ts @@ -153,6 +153,9 @@ export default class MswConfig { this.mirageServer = server; this.mirageConfig = mirageConfig; + // Reset handlers + this.handlers = []; + this.config(mirageConfig); const verbs = [