|
|
@ -6,16 +6,16 @@ module.exports = function (config) { |
|
|
|
basePath: '', |
|
|
|
basePath: '', |
|
|
|
frameworks: ['mocha', 'sinon'], |
|
|
|
frameworks: ['mocha', 'sinon'], |
|
|
|
files: [ |
|
|
|
files: [ |
|
|
|
'test/main.js', |
|
|
|
'test/main.ts', |
|
|
|
'test/**/*.test.js', |
|
|
|
'test/**/*.test.ts', |
|
|
|
'test/**/*.test.jsx', |
|
|
|
'test/**/*.test.tsx', |
|
|
|
'test/**/*.html' |
|
|
|
'test/**/*.html' |
|
|
|
], |
|
|
|
], |
|
|
|
|
|
|
|
|
|
|
|
preprocessors: { |
|
|
|
preprocessors: { |
|
|
|
'test/main.js': [ 'webpack', 'sourcemap' ], |
|
|
|
'test/main.ts': [ 'webpack', 'sourcemap' ], |
|
|
|
'test/**/*.test.js': [ 'webpack', 'sourcemap' ], |
|
|
|
'test/**/*.test.ts': [ 'webpack', 'sourcemap' ], |
|
|
|
'test/**/*.test.jsx': [ 'webpack', 'sourcemap' ], |
|
|
|
'test/**/*.test.tsx': [ 'webpack', 'sourcemap' ], |
|
|
|
'test/**/*.html': ['html2js'] |
|
|
|
'test/**/*.html': ['html2js'] |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|