diff --git a/plugins/scaffolder-backend-module-github/src/autocomplete/autocomplete.test.ts b/plugins/scaffolder-backend-module-github/src/autocomplete/autocomplete.test.ts index a107117129..8556fc9428 100644 --- a/plugins/scaffolder-backend-module-github/src/autocomplete/autocomplete.test.ts +++ b/plugins/scaffolder-backend-module-github/src/autocomplete/autocomplete.test.ts @@ -80,18 +80,4 @@ describe('handleAutocompleteRequest', () => { }), ).rejects.toThrow(InputError); }); - - it('should throw an error if context id is missing for repositories', async () => { - const handleAutocompleteRequest = createHandleAutocompleteRequest({ - integrations: mockIntegrations, - }); - - await expect( - handleAutocompleteRequest({ - resource: 'repositories', - token: 'token', - context: {}, - }), - ).rejects.toThrow(InputError); - }); });