Skip to content

test suite failed to run #6478

Closed
Closed
@ThakurKarthik

Description

@ThakurKarthik

🐛 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions