diff --git a/frontend/jest.config.ts b/frontend/jest.config.ts index 5113150de2..dc8d32052d 100644 --- a/frontend/jest.config.ts +++ b/frontend/jest.config.ts @@ -5,6 +5,6 @@ const config: Config.InitialOptions = { transform: { '^.+\\.tsx?$': 'ts-jest', }, - // setupFilesAfterEnv: ['./setup-jest.js'], + setupFilesAfterEnv: ['./setup-jest.js'], }; export default config; \ No newline at end of file diff --git a/frontend/setup-jest.js b/frontend/setup-jest.js index 7833f25566..5604ed1825 100644 --- a/frontend/setup-jest.js +++ b/frontend/setup-jest.js @@ -1,3 +1,3 @@ -import replaceAllInserter from 'string.prototype.replaceall'; +// import replaceAllInserter from 'string.prototype.replaceall'; -replaceAllInserter.shim(); \ No newline at end of file +// replaceAllInserter.shim(); \ No newline at end of file