Skip to content
Advertisement

Tag: nomachine-nx

Angular v13 Jest with nx test – SyntaxError: Cannot use import statement outside a module at Runtime.createScriptFromCode

I tried to follow every comment with a possible solution here to the letter. I relied on an example project on github as well which works perfectly. This also started to happen to me after updating everything manually and when running the nx test command, occurrs this error. My jest.config.js inside apps/my-app: jest.config.js in the project root: jest.preset.js in the

Advertisement