aboutsummaryrefslogtreecommitdiffstats
path: root/tests/msw/handlers/index.ts
Commit message (Collapse)AuthorAgeFilesLines
* refactor(pages): refine Contact pageArmand Philippot2023-12-111-0/+2
| | | | | | | * remove next/router dependency * remove pageTitle since it is defined in MDX * reduce statements by grouping messages * mock response with MSW and add test for sendEmail
* refactor(hooks): replace useGithubApi with useGithubRepoMetaArmand Philippot2023-12-071-0/+2
| | | | | | | | * 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
* fix(services,types): make queries and types coherent for TopicArmand Philippot2023-11-281-0/+2
| | | | | | * some nodes was missing in topicQuery * a node was mispelled in topicsListQuery * add tests for all topics fetchers
* fix(services,types): make coherent Thematic type and queryArmand Philippot2023-11-281-1/+6
| | | | | | * some nodes was queried but missing in the Thematic type and vice versa, it is now fixed * add tests for all thematics fetchers
* test(services): add tests for comments list fetcherArmand Philippot2023-11-281-1/+2
|
* test(services): add tests for posts fetchersArmand Philippot2023-11-281-0/+3