test: rename github repo fixture

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2023-02-04 03:03:11 +01:00
parent d1181e8a16
commit 556fff451f
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
2 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ beforeEach(() => {
jest.clearAllMocks();
});
import repoFixture from './fixtures/repo.json';
import repoFixture from './fixtures/github-repo.json';
jest.spyOn(GitHub.prototype, 'repoData').mockImplementation((): Promise<GitHubRepo> => {
return <Promise<GitHubRepo>>(repoFixture as unknown);
});