aboutsummaryrefslogtreecommitdiffstats
path: root/tests/msw/handlers/thematics/thematics-slugs.handler.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/msw/handlers/thematics/thematics-slugs.handler.ts')
-rw-r--r--tests/msw/handlers/thematics/thematics-slugs.handler.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/msw/handlers/thematics/thematics-slugs.handler.ts b/tests/msw/handlers/thematics/thematics-slugs.handler.ts
index 3a71c8e..77bbeda 100644
--- a/tests/msw/handlers/thematics/thematics-slugs.handler.ts
+++ b/tests/msw/handlers/thematics/thematics-slugs.handler.ts
@@ -1,10 +1,11 @@
import { type ExecutionResult, graphql as executeGraphql } from 'graphql';
-import { HttpResponse, graphql } from 'msw';
+import { HttpResponse } from 'msw';
import type { ThematicsSlugsResponse } from '../../../../src/services/graphql';
import { wpThematicsFixture } from '../../../fixtures';
+import { wordpressAPI } from '../../instances';
import { schema } from '../../schema';
-export const thematicsSlugsHandler = graphql.query<
+export const thematicsSlugsHandler = wordpressAPI.query<
ThematicsSlugsResponse,
Record<'first', number>
>('ThematicsSlugs', async ({ query, variables }) => {