diff --git a/test/mocha.opts.black-box b/test/mocha.opts.black-box index ab74efa00a76..74bdcd6054ff 100644 --- a/test/mocha.opts.black-box +++ b/test/mocha.opts.black-box @@ -1,4 +1,4 @@ ---require ts-node/register +--require ../../test/ts-nodify.js --require test/support/scenarios.ts --ui bdd test/black-box/**/*.ts diff --git a/test/mocha.opts.white-box b/test/mocha.opts.white-box index 3dde74d9ef20..d630e9925e24 100644 --- a/test/mocha.opts.white-box +++ b/test/mocha.opts.white-box @@ -1,4 +1,4 @@ ---require ts-node/register +--require ../../test/ts-nodify.js --require test/support/scenarios.ts --ui tdd test/white-box/**/*.ts diff --git a/test/ts-nodify.js b/test/ts-nodify.js new file mode 100644 index 000000000000..77970f99cfdc --- /dev/null +++ b/test/ts-nodify.js @@ -0,0 +1 @@ +require('ts-node').register({fast: true}); \ No newline at end of file