Skip to content

Process Hangs When Invoking vue-cli-service test:unit with Jest #1435

@jbenner-radham

Description

@jbenner-radham

Version

3.0.0-beta.15

Reproduction link

https://github.com/jbenner-radham/vue-cli-jest-test

Steps to reproduce

Via the CLI:

  1. vue create <app-name>
  2. Select "Manually select features"
  3. Select "Babel", "Linter / Formatter", and "Unit Testing"
  4. Select "ESLint with error prevention only"
  5. Select "Lint on save" and "Lint and fix on commit"
  6. Select "Jest"
  7. Select "In dedicated config files"
  8. Enter "n"
  9. cd <app-name>
  10. yarn test:unit

What is expected?

The unit tests to run and complete successfully.

What is actually happening?

The test service hangs indefinitely e.g.

➜  vue-cli-jest-test git:(master) yarn test:unit
yarn run v1.7.0
$ vue-cli-service test:unit

Metadata

Metadata

Assignees

No one assigned

    Labels

    cannot reproduceWe cannot reproduce the problem with the given information. More env information needed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions