From 2b8c37e57f1b55dcb562ccf9141ae29bac0e370a Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Tue, 30 Apr 2019 21:50:32 +0900 Subject: Configure karma.conf --- karma.conf.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'karma.conf.js') diff --git a/karma.conf.js b/karma.conf.js index 32da469..b422605 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -6,16 +6,16 @@ module.exports = function (config) { basePath: '', frameworks: ['mocha', 'sinon'], files: [ - 'test/main.js', - 'test/**/*.test.js', - 'test/**/*.test.jsx', + 'test/main.ts', + 'test/**/*.test.ts', + 'test/**/*.test.tsx', 'test/**/*.html' ], preprocessors: { - 'test/main.js': [ 'webpack', 'sourcemap' ], - 'test/**/*.test.js': [ 'webpack', 'sourcemap' ], - 'test/**/*.test.jsx': [ 'webpack', 'sourcemap' ], + 'test/main.ts': [ 'webpack', 'sourcemap' ], + 'test/**/*.test.ts': [ 'webpack', 'sourcemap' ], + 'test/**/*.test.tsx': [ 'webpack', 'sourcemap' ], 'test/**/*.html': ['html2js'] }, -- cgit v1.2.3