MithrilJS / ospec

Noiseless testing framework
MIT License
48 stars 13 forks source link

Native TS support would be nice to have #67

Open pygy opened 8 months ago

pygy commented 8 months ago

I haven't dug yet, but I think we could integrate https://github.com/TypeStrong/ts-node/ and load it on demand if needed.

soulofmischief commented 5 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.

pygy commented 5 months ago

As a workaround in the mean time, you can load ts-node/register from a local file.