Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jest failed to parse a file. this happens e.g. when your code or its dependencies use non-standard javascript syntax, or when jest is not configured to support such syntax.

To fix this, add that library name to transformIgnorePatterns in the jest. config.
 
PREVIOUS NEXT
Tagged: #jest #failed #parse #code #dependencies #javascript #jest #configured #support
ADD COMMENT
Topic
Name
1+7 =