I’m trying to debug an issue with Meteor + Mocha (+ typescript). It seems as though unit tests written in typescript are not recognized. I’d like to understand how Mocha loads tests but I keep running into a wall.
I see within
tools/isobuilds/test-files.js there is the function
isTestFilePath which matches a path against a regex. But the only reference I see is in
compiler-plugin.js, which seems to be meant for assets.
Does anyone know how tests are loaded? The documentation is pretty sparse as far as the “how.”