Closed
Description
🐛 Bug Report
Iam trying to run npm run test with jest installed but test suite is failed to run
To Reproduce
npm run test
Expected behavior
Checking whether tests are working for failing
Paste the results here:
FAIL src/components/AddTodoInput/AddTodoInput.spec.js
● Test suite failed to run
SyntaxError: Invalid regular expression: /[\\\\\]node_modules[\\\\\].+\.(js|jsx|mjs)$/: Unterminated character class
at new RegExp (<anonymous>)
at shouldTransform (node_modules/jest-runtime/build/script_transformer.js:603:9)
Metadata
Metadata
Assignees
Labels
No labels