mirror of
https://code.forgejo.org/docker/actions-toolkit.git
synced 2025-06-28 08:35:36 -04:00
test: rename github repo fixture
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
d1181e8a16
commit
556fff451f
2 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue