Open pygy opened 8 months ago
+1, as ospec **/tests/**/*.js --preload ts-node/register
doesn't seem to work, it looks for a relative filepath instead of a module.
As a workaround in the mean time, you can load ts-node/register
from a local file.
I haven't dug yet, but I think we could integrate https://github.com/TypeStrong/ts-node/ and load it on demand if needed.