From b8eb008dd5927fb736e56699637f5f8549965eae Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Wed, 6 Dec 2023 18:20:54 +0100 Subject: refactor(hooks): replace useGithubApi with useGithubRepoMeta * 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 --- tests/fixtures/index.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/fixtures/index.ts') diff --git a/tests/fixtures/index.ts b/tests/fixtures/index.ts index 2ae0185..249b608 100644 --- a/tests/fixtures/index.ts +++ b/tests/fixtures/index.ts @@ -1,3 +1,4 @@ +export * from './github-repos.fixture'; export * from './wp-comments.fixture'; export * from './wp-posts.fixture'; export * from './wp-thematics.fixture'; -- cgit v1.2.3