From 2a4d263cbb28f88c4c84b7c0aab9bd3435760fd2 Mon Sep 17 00:00:00 2001 From: Ritchie Martori Date: Wed, 25 Jan 2017 12:31:39 -0800 Subject: [PATCH] Super fast mode --- test/mocha.opts.black-box | 2 +- test/mocha.opts.white-box | 2 +- test/ts-nodify.js | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 test/ts-nodify.js 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