![reactjs - How to resolve "Cannot use import statement outside a module" from Jest when running tests? - Stack Overflow reactjs - How to resolve "Cannot use import statement outside a module" from Jest when running tests? - Stack Overflow](https://i.stack.imgur.com/nZ8tY.png)
reactjs - How to resolve "Cannot use import statement outside a module" from Jest when running tests? - Stack Overflow
![Index1.js:1 Uncaught SyntaxError: Cannot use import statement outside a module - React - Code with Mosh Forum Index1.js:1 Uncaught SyntaxError: Cannot use import statement outside a module - React - Code with Mosh Forum](https://global.discourse-cdn.com/business7/uploads/codewithmosh/original/2X/4/42d2695ea51428206fe63e58ca869ca39541be64.png)
Index1.js:1 Uncaught SyntaxError: Cannot use import statement outside a module - React - Code with Mosh Forum
![refresh - SyntaxError: Cannot use import statement outside a module · Issue #83 · bumbeishvili/org-chart · GitHub refresh - SyntaxError: Cannot use import statement outside a module · Issue #83 · bumbeishvili/org-chart · GitHub](https://user-images.githubusercontent.com/6301478/131813223-74cae340-a8d2-4427-8444-d130e7ddca3b.png)
refresh - SyntaxError: Cannot use import statement outside a module · Issue #83 · bumbeishvili/org-chart · GitHub
![javascript - Uncaught SyntaxError: Cannot use import statement outside a module 123 - Stack Overflow javascript - Uncaught SyntaxError: Cannot use import statement outside a module 123 - Stack Overflow](https://i.stack.imgur.com/Kb4N8.png)
javascript - Uncaught SyntaxError: Cannot use import statement outside a module 123 - Stack Overflow
![Module not found: You attempted to import ../container/App which falls outside of the project src/ directory. Relative imports outside of src/ are not supported - The freeCodeCamp Forum Module not found: You attempted to import ../container/App which falls outside of the project src/ directory. Relative imports outside of src/ are not supported - The freeCodeCamp Forum](https://global.discourse-cdn.com/freecodecamp/original/3X/7/a/7aee8c6a6a83f5e604648f36350c50a9a289d1c7.png)
Module not found: You attempted to import ../container/App which falls outside of the project src/ directory. Relative imports outside of src/ are not supported - The freeCodeCamp Forum
![Error: SyntaxError: Cannot use import statement outside a module · Issue #9292 · jestjs/jest · GitHub Error: SyntaxError: Cannot use import statement outside a module · Issue #9292 · jestjs/jest · GitHub](https://user-images.githubusercontent.com/22520811/78584642-cd888780-7838-11ea-8103-a2f35d862b20.jpg)