diff --git a/wallaby.conf.js b/wallaby.conf.js index e026dc7..04834f5 100644 --- a/wallaby.conf.js +++ b/wallaby.conf.js @@ -12,15 +12,12 @@ module.exports = function (wallaby) { runner: 'node' }, compilers: { - '+(dist|test)/**/*.js': wallaby.compilers.typeScript(), - '+(src)/**/*.ts': wallaby.compilers.typeScript() - // '+(src|test)/**/*.js': wallaby.compilers.babel( - // { - // presets: ['@babel/preset-env', '@ava/babel-preset-stage-4'] - // } - // ) + '**/*.+(js|ts)': wallaby.compilers.typeScript({allowJs: true, outDir: './bin'}) + }, + preprocessors: { + '**/*.jsts': file => file.changeExt('js').content }, testFramework: 'jest', debug: true } -} \ No newline at end of file +}