DEV Community

Discussion on: No More ../../../ Import in React

chilupa profile image
Pavan Chilukuri

Little lately, after using this config, I found out that when you try to import render function from react testing library, it uses require syntax but not the import syntax. Has anyone experienced this? It is same with all the imports in the test cases.

Some comments have been hidden by the post's author - find out more