aboutsummaryrefslogtreecommitdiffstats
path: root/tests/msw/handlers/index.ts
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2023-11-28 16:18:03 +0100
committerArmand Philippot <git@armandphilippot.com>2023-11-28 18:04:24 +0100
commitf564d181bc428e25a02bf1d98c4449a6b3eb8e9e (patch)
tree6057a1e3a419957fb32d1a08160d5d746e54bc04 /tests/msw/handlers/index.ts
parent180134883b281883246fc9909b1d494363861144 (diff)
fix(services,types): make coherent Thematic type and query
* some nodes was queried but missing in the Thematic type and vice versa, it is now fixed * add tests for all thematics fetchers
Diffstat (limited to 'tests/msw/handlers/index.ts')
-rw-r--r--tests/msw/handlers/index.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/msw/handlers/index.ts b/tests/msw/handlers/index.ts
index 5f331e7..e42a0eb 100644
--- a/tests/msw/handlers/index.ts
+++ b/tests/msw/handlers/index.ts
@@ -1,4 +1,9 @@
import { commentsHandlers } from './comments';
import { postsHandlers } from './posts';
+import { thematicsHandlers } from './thematics';
-export const handlers = [...commentsHandlers, ...postsHandlers];
+export const handlers = [
+ ...commentsHandlers,
+ ...postsHandlers,
+ ...thematicsHandlers,
+];