Skip to content

EventCard.spec.js fails to run test Cannot find module 'babel-jest' #8

@elizatlawy

Description

@elizatlawy

I cannot run the test suite due to:


 FAIL  tests/unit/EventCard.spec.js
  ● Test suite failed to run 

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        0.842s
Ran all test suites.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] test:unit: `vue-cli-service test:unit`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] test:unit script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

I tried to delete the node_modules folder and rerun npm install - it did not help.
Any idea why it is happening?

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