From 6634ba10d0df6bd899f5a55387dc4ad066b82de9 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Sun, 13 Mar 2022 11:38:34 +0100 Subject: [PATCH] techdocs-node: remove custom test setup Signed-off-by: Patrik Oldsberg --- plugins/techdocs-node/package.json | 5 ----- plugins/techdocs-node/src/setupTests.ts | 20 -------------------- 2 files changed, 25 deletions(-) delete mode 100644 plugins/techdocs-node/src/setupTests.ts diff --git a/plugins/techdocs-node/package.json b/plugins/techdocs-node/package.json index 6db2637180..272e30b759 100644 --- a/plugins/techdocs-node/package.json +++ b/plugins/techdocs-node/package.json @@ -72,10 +72,5 @@ "@types/recursive-readdir": "^2.2.0", "@types/supertest": "^2.0.8", "supertest": "^6.1.3" - }, - "jest": { - "roots": [ - ".." - ] } } diff --git a/plugins/techdocs-node/src/setupTests.ts b/plugins/techdocs-node/src/setupTests.ts deleted file mode 100644 index d342cfb26a..0000000000 --- a/plugins/techdocs-node/src/setupTests.ts +++ /dev/null @@ -1,20 +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. - */ - -import { StorageFilesMock } from './testUtils/StorageFilesMock'; - -(global as any).rootDir = StorageFilesMock.rootDir; -(global as any).storageFilesMock = new StorageFilesMock();