Answer by tmhao2005 for TypeError "styled": symbol is not a function
Looks like you set up loader to import svg to return a component which means as long as you can do the same way with jest by using a transformer which returns a jsx in case of svg file.I suggest to use...
View ArticleTypeError "styled": symbol is not a function
I'm running npm test and getting the following error: FAIL src/App.test.js● Test suite failed to run TypeError: symbol is not a function at String (<anonymous>) 3 | import styled from...
View Article
More Pages to Explore .....