ReferenceError: 'var' is not defined in Unit Tests accessing lib/constants


I have some Unit Tests that call a Collection Helper method. Said method uses a constant stored in lib/constants.js.

I’ve tested the Collection Helper method itself while running the app normally and it works as expected. Just seems like when running the app in test mode, the helper cannot access the constant. Anybody know how to resolve this? Thanks!

Btw I’m running my tests via meteor test --driver-package meteortesting:mocha TEST_WATCH=1