[SOLVED] How to run tests of one package from another?

Hello, since collection2 were divided to several packages, I can’t find a way to run tests on my changes against collection2-core package.

collection2-core required by collection2. I tried to put it in collection2/packages, but this has no effect. Any ideas?

Set the environment variable: export PACKAGE_DIRS=<Path to>/collection2/packages before running the tests. Then Meteor will find your local version of collection2-core.

1 Like

@Sanjo, thank’s a lot. Your advise was very helpful!