now allows the setting of a better config for how tests are run

This commit is contained in:
2017-06-17 10:47:07 +02:00
parent da1ec0329f
commit d889a20572
7 changed files with 112 additions and 60 deletions

View File

@ -20,6 +20,8 @@ let tap = function (configArg: INpmtsConfig) {
*/
let npmtsTapBuffer = new plugins.tapbuffer.TabBuffer()
npmtsTapBuffer.setConfig(configArg.testConfig)
/**
* handle the testable files
*/

View File

@ -19,6 +19,7 @@ export interface INpmtsConfig {
mode: npmtsMode
test: boolean
testTs: any
testConfig: any
ts: any
tsOptions: any
watch: boolean
@ -38,6 +39,9 @@ export let run = function (argvArg) {
mode: 'default',
test: true,
testTs: {},
testConfig: {
parallel: true
},
ts: {},
tsOptions: {},
watch: false,