From 556fff451f9c69700bdb5d8df5b263130a8e1bab Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Sat, 4 Feb 2023 03:03:11 +0100 Subject: [PATCH] test: rename github repo fixture Signed-off-by: CrazyMax --- __tests__/fixtures/{repo.json => github-repo.json} | 0 __tests__/github.test.ts | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename __tests__/fixtures/{repo.json => github-repo.json} (100%) diff --git a/__tests__/fixtures/repo.json b/__tests__/fixtures/github-repo.json similarity index 100% rename from __tests__/fixtures/repo.json rename to __tests__/fixtures/github-repo.json diff --git a/__tests__/github.test.ts b/__tests__/github.test.ts index 08c73a4..8880152 100644 --- a/__tests__/github.test.ts +++ b/__tests__/github.test.ts @@ -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 => { return >(repoFixture as unknown); });