Cannot find module 'env.mjs' from 'mycomponent/banner.test.tsx'
tamhv opened this issue · 1 comments
tamhv commented
env from env.mjs are all undefined during test with jest
bmstefanski commented
You have to define envs on your own in setup file https://jestjs.io/docs/configuration#setupfiles-array