File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lambdas/functions/control-plane/src/pool Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ beforeEach(() => {
170
170
describe ( 'Test simple pool.' , ( ) => {
171
171
describe ( 'With GitHub Cloud' , ( ) => {
172
172
beforeEach ( ( ) => {
173
- getGitHubEnterpriseApiUrl . mockReturnValue ( {
173
+ ( getGitHubEnterpriseApiUrl as jest . Mock ) . mockReturnValue ( {
174
174
ghesApiUrl : '' ,
175
175
ghesBaseUrl : '' ,
176
176
} ) ;
@@ -251,7 +251,7 @@ describe('Test simple pool.', () => {
251
251
252
252
describe ( 'With GHES' , ( ) => {
253
253
beforeEach ( ( ) => {
254
- getGitHubEnterpriseApiUrl . mockReturnValue ( {
254
+ ( getGitHubEnterpriseApiUrl as jest . Mock ) . mockReturnValue ( {
255
255
ghesApiUrl : 'https://api.github.enterprise.something' ,
256
256
ghesBaseUrl : 'https://github.enterprise.something' ,
257
257
} ) ;
@@ -270,7 +270,7 @@ describe('Test simple pool.', () => {
270
270
271
271
describe ( 'With Github Data Residency' , ( ) => {
272
272
beforeEach ( ( ) => {
273
- getGitHubEnterpriseApiUrl . mockReturnValue ( {
273
+ ( getGitHubEnterpriseApiUrl as jest . Mock ) . mockReturnValue ( {
274
274
ghesApiUrl : 'https://api.companyname.ghe.com' ,
275
275
ghesBaseUrl : 'https://companyname.ghe.com' ,
276
276
} ) ;
You can’t perform that action at this time.
0 commit comments