Skip to content

Tag: react-testing-library

MUI5 not working with jest – SyntaxError: Cannot use import statement outside a module

Reproducible repo: What is more worrying is: in the sandbox the tests pass. However if you checkout the above repo, which was imported into this sandbox it will not pass locally. I have no doubt that the issue is my jest does not compile the node_modules that would be needed for running my tests. But I am at