Skip to content

Commit 1b9ef6a

Browse files
committed
Fix
1 parent 829c88d commit 1b9ef6a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ jest.mock('./../aws/runners', () => ({
2828
listEC2Runners: jest.fn(),
2929
}));
3030
jest.mock('./../github/auth');
31-
jest.mock('../scale-runners/scale-up', () => ({
32-
getGitHubEnterpriseApiUrl: jest.fn() as jest.Mock,
33-
}));
31+
jest.mock('../scale-runners/scale-up');
32+
3433
const mocktokit = Octokit as jest.MockedClass<typeof Octokit>;
3534
const mockedAppAuth = mocked(ghAuth.createGithubAppAuth, {
3635
shallow: false,

0 commit comments

Comments
 (0)