Navigation Menu

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

[1.7.0.2] In newly created app, meteor npm test runs no tests #9991

Closed
benjamn opened this issue Jun 13, 2018 · 0 comments
Closed

[1.7.0.2] In newly created app, meteor npm test runs no tests #9991

benjamn opened this issue Jun 13, 2018 · 0 comments
Assignees
Labels

Comments

@benjamn
Copy link
Contributor

benjamn commented Jun 13, 2018

Steps to reproduce:

% meteor create new-app
% cd new-app
% meteor npm test

> new-app@ test /Users/ben/dev/new-app
> meteor test --once --driver-package meteortesting:mocha

[[[[[ Tests ]]]]]                             

=> Started proxy.                             
=> Started MongoDB.                           
I20180613-17:13:22.327(-4)?                   
I20180613-17:13:22.350(-4)? --------------------------------
I20180613-17:13:22.351(-4)? ----- RUNNING SERVER TESTS -----
I20180613-17:13:22.351(-4)? --------------------------------
I20180613-17:13:22.351(-4)? 
I20180613-17:13:22.351(-4)? 
I20180613-17:13:22.351(-4)? 
I20180613-17:13:22.352(-4)?   0 passing (1ms)
I20180613-17:13:22.352(-4)? 
I20180613-17:13:22.352(-4)? Load the app in a browser to run client tests, or set the TEST_BROWSER_DRIVER environment variable. See https://github.com/meteortesting/meteor-mocha/blob/master/README.md#run-app-tests
=> Started your app.

=> App running at: http://localhost:3000/
%

Workaround: rename the tests directory to test and update meteor.testModule in package.json.

Likely related: #9977

@benjamn benjamn added this to the Release 1.7.0.2 milestone Jun 13, 2018
@benjamn benjamn self-assigned this Jun 13, 2018
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

1 participant