diff --git a/plugins/home-page/jest.config.js b/plugins/home-page/jest.config.js deleted file mode 100644 index 2e584f12dc..0000000000 --- a/plugins/home-page/jest.config.js +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2020 Spotify AB - * - * 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. - */ - -module.exports = { - ...require('@spotify/web-scripts/config/jest.config.js'), - setupFilesAfterEnv: ['../jest.setup.ts'], -}; diff --git a/plugins/home-page/jest.setup.ts b/plugins/home-page/src/setupTests.ts similarity index 100% rename from plugins/home-page/jest.setup.ts rename to plugins/home-page/src/setupTests.ts diff --git a/plugins/welcome/jest.config.js b/plugins/welcome/jest.config.js deleted file mode 100644 index 2e584f12dc..0000000000 --- a/plugins/welcome/jest.config.js +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2020 Spotify AB - * - * 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. - */ - -module.exports = { - ...require('@spotify/web-scripts/config/jest.config.js'), - setupFilesAfterEnv: ['../jest.setup.ts'], -}; diff --git a/plugins/welcome/jest.setup.ts b/plugins/welcome/src/setupTests.ts similarity index 100% rename from plugins/welcome/jest.setup.ts rename to plugins/welcome/src/setupTests.ts