Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run test doesn't run any tests #207

Open
dillon-sellars opened this issue Dec 3, 2016 · 2 comments
Open

npm run test doesn't run any tests #207

dillon-sellars opened this issue Dec 3, 2016 · 2 comments
Labels

Comments

@dillon-sellars
Copy link

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! typescript-react-redux-starter@0.1.0 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.

@SethDavenport
Copy link
Contributor

Which repo are you using?

@rbrander
Copy link

rbrander commented Apr 7, 2017

@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
Labels
Projects
None yet
Development

No branches or pull requests

3 participants