aboutsummaryrefslogtreecommitdiffstats
path: root/tests/msw/handlers/thematics/thematics-list.handler.ts
Commit message (Collapse)AuthorAgeFilesLines
* refactor(hooks): replace useGithubApi with useGithubRepoMetaArmand Philippot2023-12-071-2/+3
| | | | | | | | * use GraphQL API instead of REST (the inconvenient however is that we now need an authorization token...) * move fetcher in services * add tests * mock response using MSW
* refactor(pages): refine Thematic pagesArmand Philippot2023-12-011-3/+8
| | | | | | | | | | | * add a table of contents (however posts heading are not included) * rename posts list section title * add a useThematic hook to refresh thematic contents * add a useThematicLists hook to refresh thematics list * add a `notIn` filter in thematics list fetcher to directly remove unwanted thematics * add Cypress tests
* fix(services,types): make coherent Thematic type and queryArmand Philippot2023-11-281-0/+44
* some nodes was queried but missing in the Thematic type and vice versa, it is now fixed * add tests for all thematics fetchers