aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fixtures
Commit message (Collapse)AuthorAgeFilesLines
* refactor(hooks): replace useGithubApi with useGithubRepoMetaArmand Philippot2023-12-072-0/+31
| | | | | | | | * 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 Blog pagesArmand Philippot2023-12-041-2/+2
| | | | | | | | | | * replace usePostsList with useArticlesList to keep names coherent * remove useIsMounted hook * rewrite useRedirection hook * add redirect in getStaticProps to avoid unecessary fetching * move Pagination component in a noscript tag * use hooks to refresh thematics and topics lists * complete Cypress tests
* fix(services,types): make queries and types coherent for TopicArmand Philippot2023-11-282-0/+119
| | | | | | * 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-282-0/+115
| | | | | | * 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-282-0/+105
|
* test(services): add tests for posts fetchersArmand Philippot2023-11-282-0/+178