Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Issues
  • #6899
Closed
Open
Issue created Apr 25, 2019 by Administrator@rootContributor

react-scripts@3.0.0 test command hangs

Created by: JenkinsIsobar

Is this a bug report?

Yes

Did you try recovering your dependencies?

Yes

Which terms did you search for in User Guide?

(Write your answer here if relevant.)

Environment

Environment Info:

  System:
    OS: Windows 10
    CPU: (8) x64 Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
  Binaries:
    Node: 11.1.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.15.2 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: 42.17134.1.0
    Internet Explorer: 11.0.17134.1
  npmPackages:
    react: ^16.8.5 => 16.8.6
    react-dom: ^16.8.5 => 16.8.6
    react-scripts: ^2.1.5 => 2.1.8
  npmGlobalPackages:
    create-react-app: Not Found

Also

Same happening on Ubuntu (unable to tell exact version)

Steps to Reproduce

  1. npx create-react-app test
  2. cd test
  3. yarn test

Expected Behavior

Since I don't have any non staged changes jest should resolve (and run) all the tests.

Actual Behavior

outputs:

$ yarn test
yarn run v1.15.2
$ react-scripts test
No tests found related to files changed since last commit.

and the process hangs (doesn't exits)

on our Jenkins it ran more than an hour jenkins-hang

Reproducible Demo

https://github.com/Teneff/react-scripts-bug

Assignee
Assign to
Time tracking