You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is more for documentation, and I think could be included in the readme of this plugin for other people.
Based on the information found here (archived), I figured out that the transpilation of ts to js is not neccisary when using this plugin. By passing the require argument to mocha, one can directly pass it ts. It would look as follows in your gulpfile.js:
Obviously this also requires the ts-node npm package.
This saves a transpilation step, and how to use the VSCode debugger directly on the ts files is described in the mentioned article (also handy trick!). I hope this helps someone :-)
The text was updated successfully, but these errors were encountered:
This is more for documentation, and I think could be included in the readme of this plugin for other people.
Based on the information found here (archived), I figured out that the transpilation of ts to js is not neccisary when using this plugin. By passing the
require
argument tomocha
, one can directly pass itts
. It would look as follows in your gulpfile.js:Obviously this also requires the
ts-node
npm package.This saves a transpilation step, and how to use the
VSCode
debugger directly on the ts files is described in the mentioned article (also handy trick!). I hope this helps someone :-)The text was updated successfully, but these errors were encountered: