Make Velocity run unit tests from packages


I’ve moved all business code of my application to local smart packages. How can I make Velocity run the Jasmine tests in the packages’ test folder? Currently only tests under the application’s /tests/jasmine folder are considered.


Taken from the Jasmine readme:

VELOCITY_TEST_PACKAGES=1 meteor test-packages --driver-package velocity:html-reporter package-to-test

I believe if you leave off the package-to-test argument, it will run them all.

1 Like