meteor-webpack
meteor-webpack copied to clipboard
'Meteor test' seems not working
I tried to test meteor with
meteor test --driver-package meteortesting:mocha --test-app-path $(pwd)/.meteortest
but it endlessly showed
I20190408-11:20:22.005(9)? --------------------------------
I20190408-11:20:22.006(9)? ----- RUNNING SERVER TESTS -----
I20190408-11:20:22.006(9)? --------------------------------
I20190408-11:20:22.006(9)?
I20190408-11:20:22.006(9)?
I20190408-11:20:22.006(9)?
I20190408-11:20:22.007(9)? 0 passing (0ms)
I20190408-11:20:22.007(9)?
I20190408-11:20:22.007(9)? 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
=> Exited with code: 0
I currently installed meteor packages like
# Check this file (and the other files in this directory) into your repository.
#
# 'meteor add' and 'meteor remove' will edit this file for you,
# but you can also edit it by hand.
[email protected] # Packages every Meteor app needs to have
[email protected] # Packages for a great mobile UX
[email protected] # The database Meteor supports right now
[email protected] # Reactive variable for tracker
[email protected] # Meteor's client-side reactive programming library
[email protected] # JS minifier run for production mode
[email protected] # Server-side component of the `meteor shell` command
[email protected] # Allow all DB writes from clients (for prototyping)
react-meteor-data # React higher-order component for reactively tracking Meteor data
http
meteorhacks:[email protected]
meteortesting:[email protected]
meteortesting:[email protected]
meteortesting:[email protected]
ardatan:webpack
ardatan:webpack-dev-middleware
accounts-ui
accounts-password
session
juliancwirko:postcss
I tried other meteor test driver like praticalmeteor but it didn't work. Should I change something? I expect the web reporters view when I open localhost:3000
I'm also having the issue that meteor test hangs up after running server tests. In my case it started working again after removing "@import '~bootstrap/scss/bootstrap';" in my main .scss and using the precompiled bootstrap.css. So my guess is that it is some issue with css.
Same here. Meteor/Mocha doesn't seem to find any tests when ardatan webpack package is enabled. This can be reproduced with example "react" from this repo.
Removing (s)css-imports didn't fix the issue for me, have you found any solution/workaround in the meantime, @kadensungbincho @Shiadra ?
Same issue here. @ardatan Do you have any idea ? I'll maybe check locally to find