Skip to content

No tests found, exiting with code 1 when running yarn test #15044

Closed
@matthieuauger

Description

Description

When I run yarn test inside Gatsby repository and after having bootstrapped the project, I see the "No tests found, exiting with code 1" issue.

image

Steps to reproduce

  • create a folder www
  • clone Gatsby inside it
  • install & bootstrap Gatsby
  • run yarn test

Expected result

Tests should be run correctly

Environment

System:
OS: macOS 10.14.6
CPU: (8) x64 Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz
Shell: 5.3 - /bin/zsh
Binaries:
Node: 10.7.0 - ~/.nvm/versions/node/v10.7.0/bin/node
Yarn: 1.16.0 - ~/.nvm/versions/node/v10.7.0/bin/yarn
npm: 6.7.0 - ~/.nvm/versions/node/v10.7.0/bin/npm
Languages:
Python: 2.7.10 - /usr/bin/python
Browsers:
Chrome: 75.0.3770.100
Firefox: 67.0.3
Safari: 12.1.2
npmGlobalPackages:
gatsby-cli: 2.4.8

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