Skip to content

npm run test doesn't run any tests #207

Open

Description

@dillon-sellars

When I run npm run test I get


npm ERR! Darwin 16.1.0
npm ERR! argv "/usr/local/Cellar/node/7.2.0/bin/node" "/usr/local/bin/npm" "run" "test"
npm ERR! node v7.2.0
npm ERR! npm  v4.0.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] test: `karma start --singleRun true`
npm ERR! Exit status 1

It looks like no tests are found and Karma errors out when no tests are defined.

Activity

  1. SethDavenport commented on Dec 8, 2016

    @SethDavenport
    Contributor

    Which repo are you using?

  2. rbrander commented on Apr 7, 2017

    @rbrander

    @SethDavenport The repo is typescript-react-redux-starter. I cloned this repo and after doing npm install I received the same error when trying to run the tests. There are tests in the repo (e.g. /src/components/button/index.test.tsx) but none of them are being run. I wonder if this is a problem with the regular expression used in src/tests.entry.ts? Also, this repo may be deprecated as we now use create-react-app using rangle scripts going forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions