aboutsummaryrefslogtreecommitdiffstats
path: root/tests/msw/index.ts
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2023-11-27 19:38:32 +0100
committerArmand Philippot <git@armandphilippot.com>2023-11-27 20:06:56 +0100
commitff79add1d59375817a10331a35458cca3c419cfe (patch)
tree5e678e2c3cd43ace5cb7fd27a22f6e8403ccd211 /tests/msw/index.ts
parentf111685c5886f3e77edfd3621c98d8ac1b9bcce4 (diff)
test: add MSW to intercept GraphQL requests
Diffstat (limited to 'tests/msw/index.ts')
-rw-r--r--tests/msw/index.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/msw/index.ts b/tests/msw/index.ts
new file mode 100644
index 0000000..997ae40
--- /dev/null
+++ b/tests/msw/index.ts
@@ -0,0 +1,3 @@
+import { setupServer } from 'msw/node';
+
+export const mswServer = setupServer(...[]);