Hi,
I like writing unit tests. They are fast.
I’m trying to import some code that relies on importing something from ‘/imports/…etc’
However I am having a hard time getting mocha to understand the root import path
I tried putting something like this in my .babelrc
"plugins": [ ["babel-plugin-root-import", { "rootPathPrefix": "" }]
But to no avail.
Any tips on how to get mocha unit tests imports to work the same as meteor’s does?