Skip to content

Commit 5146e8c

Browse files
committed
Fix typo
1 parent 36456f1 commit 5146e8c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lambdas/functions/control-plane/src/pool/pool.test.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jest.mock('./../aws/runners', () => ({
3030
jest.mock('./../github/auth');
3131
jest.mock('../scale-runners/scale-up', () => ({
3232
...jest.fn(),
33-
getGitHubEnterpriseApiUrl: jest.fn(),
33+
getGitHubEnterpriseApiUrl: jest.fn() as jest.Mock,
3434
}));
3535
const mocktokit = Octokit as jest.MockedClass<typeof Octokit>;
3636
const mockedAppAuth = mocked(ghAuth.createGithubAppAuth, {
@@ -174,9 +174,6 @@ describe('Test simple pool.', () => {
174174
ghesApiUrl: '',
175175
ghesBaseUrl: '',
176176
});
177-
178-
// Reset mocks before each test
179-
jest.clearAllMocks();
180177
});
181178
it('Top up pool with pool size 2 registered.', async () => {
182179
await expect(await adjust({ poolSize: 3 })).resolves;

0 commit comments

Comments
 (0)