feat: add js config compatibility to mfe prod build

This commit is contained in:
Jason Wesson
2024-03-18 20:55:06 +00:00
parent 5083645eff
commit 78b30d8777
5 changed files with 234 additions and 2 deletions

View File

@@ -1,6 +1,10 @@
/* eslint-disable import/no-extraneous-dependencies */
import '@testing-library/jest-dom';
import '@testing-library/jest-dom/extend-expect';
import { mergeConfig } from '@edx/frontend-platform';
import envConfig from '../env.config';
mergeConfig(envConfig);
jest.mock('react', () => ({
...jest.requireActual('react'),