openedx / frontend-build

Common build scripts and tooling for Open edX micro-frontends.
GNU Affero General Public License v3.0
18 stars 33 forks source link

`jest.config.js` should search for both `.js` and `.jsx` extensions for `env.config` #514

Open jsnwesson opened 9 months ago

jsnwesson commented 9 months ago

In the likelihood that we'll need to be able to use env.config.jsx whenever a function is imported into the JS config, Jest will need to be able to handle it here.

For the sake of making sure bases are covered, Webpack's common config already handles both extensions.