From f564d181bc428e25a02bf1d98c4449a6b3eb8e9e Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Tue, 28 Nov 2023 16:18:03 +0100 Subject: 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 --- tests/msw/handlers/thematics/index.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/msw/handlers/thematics/index.ts (limited to 'tests/msw/handlers/thematics/index.ts') diff --git a/tests/msw/handlers/thematics/index.ts b/tests/msw/handlers/thematics/index.ts new file mode 100644 index 0000000..70ed3ca --- /dev/null +++ b/tests/msw/handlers/thematics/index.ts @@ -0,0 +1,11 @@ +import { thematicHandler } from './thematic.handler'; +import { thematicsCountHandler } from './thematics-count.handler'; +import { thematicsListHandler } from './thematics-list.handler'; +import { thematicsSlugsHandler } from './thematics-slugs.handler'; + +export const thematicsHandlers = [ + thematicHandler, + thematicsCountHandler, + thematicsListHandler, + thematicsSlugsHandler, +]; -- cgit v1.2.3