aboutsummaryrefslogtreecommitdiffstats
path: root/tests/msw/handlers/topics/topics-list.handler.ts
Commit message (Collapse)AuthorAgeFilesLines
* refactor(hooks): replace useGithubApi with useGithubRepoMetaArmand Philippot2023-12-071-4/+5
| | | | | | | | * 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/+6
| | | | | | | | | | | * 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 queries and types coherent for TopicArmand Philippot2023-11-281-0/+42
* some nodes was missing in topicQuery * a node was mispelled in topicsListQuery * add tests for all topics fetchers