From 2e296c403a6df6a8b663d14b290f3a5f596d16ab Mon Sep 17 00:00:00 2001 From: Benjamin Janssens Date: Mon, 3 Feb 2025 16:10:20 +0100 Subject: [PATCH] test(scaffolder): remove invalid test Signed-off-by: Benjamin Janssens --- .../src/autocomplete/autocomplete.test.ts | 14 -------------- 1 file changed, 14 deletions(-) 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); - }); });