From f5cb741b79cb67085bb9d42c0307ca9f72f72519 Mon Sep 17 00:00:00 2001 From: Andrei Lakatos Date: Mon, 27 Jul 2026 08:56:41 -0400 Subject: [PATCH] Fixes #39557 - replace test_setup with the foreman core test setup --- webpack/test_setup.js | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/webpack/test_setup.js b/webpack/test_setup.js index f7efdbb31..cd1a3848a 100644 --- a/webpack/test_setup.js +++ b/webpack/test_setup.js @@ -1,13 +1 @@ -import 'core-js/shim'; -import 'regenerator-runtime/runtime'; - -import { configure } from '@theforeman/test'; -// eslint-disable-next-line import/no-extraneous-dependencies -import Adapter from 'enzyme-adapter-react-16'; - -configure({ adapter: new Adapter() }); - -// Mocking translation function -global.__ = str => str; -global.n__ = str => str; -global.Jed = { sprintf: str => str }; +import 'foremanJSTestSetup';