From baf3dcccd05352b4ee054309f2bd2de3543a47de Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Sat, 12 Mar 2022 10:18:08 +0100 Subject: [PATCH] scaffolder-backend: removed unused azure-devops-node-api mock Signed-off-by: Patrik Oldsberg --- .../azure-devops-node-api/GitApi/index.ts | 25 ------------------- 1 file changed, 25 deletions(-) delete mode 100644 plugins/scaffolder-backend/src/scaffolder/__mocks__/azure-devops-node-api/GitApi/index.ts diff --git a/plugins/scaffolder-backend/src/scaffolder/__mocks__/azure-devops-node-api/GitApi/index.ts b/plugins/scaffolder-backend/src/scaffolder/__mocks__/azure-devops-node-api/GitApi/index.ts deleted file mode 100644 index 6b6e313cae..0000000000 --- a/plugins/scaffolder-backend/src/scaffolder/__mocks__/azure-devops-node-api/GitApi/index.ts +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright 2020 The Backstage Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -export const mockGitApi = { - createRepository: jest.fn(), -}; - -export class GitApi { - constructor() { - return mockGitApi; - } -}