File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
lambdas/functions/control-plane/src/github Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -63,18 +63,6 @@ describe('Test createOctoClient', () => {
6363 expect ( result . request . endpoint . DEFAULTS . mediaType . previews ) . toStrictEqual ( [ 'antiope' ] ) ;
6464 } ) ;
6565
66- it ( 'Configures throttle handlers to return true for retry' , async ( ) => {
67- const token = '123456' ;
68- const result = await createOctokitClient ( token ) ;
69-
70- // Access the internal throttle options via the Octokit instance
71- // The onRateLimit and onSecondaryRateLimit should return true to enable retries
72- const throttleOptions = ( result as unknown as { throttleOptions : Record < string , unknown > } ) . throttleOptions ;
73-
74- // Since we can't directly access internal plugin options, verify the behavior
75- // by checking that the client was created successfully with throttling plugin
76- expect ( result ) . toBeDefined ( ) ;
77- } ) ;
7866} ) ;
7967
8068describe ( 'Test createGithubAppAuth' , ( ) => {
You can’t perform that action at this time.
0 commit comments