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
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Little lately, after using this config, I found out that when you try to import
render
function from react testing library, it usesrequire
syntax but not theimport
syntax. Has anyone experienced this? It is same with all the imports in the test cases.