const dataFiles = [ 'test/*.png', 'test/*.json', 'test/*.weights' ].map(pattern => ({ pattern, watched: false, included: false, served: true, nocache: false })) module.exports = function(config) { config.set({ frameworks: ['jasmine', 'karma-typescript'], files: [ 'src/**/*.ts', 'test/**/*.ts' ].concat(dataFiles), exclude: ['test/env.node.ts'], preprocessors: { '**/*.ts': ['karma-typescript'] }, karmaTypescriptConfig: { tsconfig: 'tsconfig.test.json' }, browsers: ['Chrome'], browserNoActivityTimeout: 120000, captureTimeout: 60000, client: { jasmine: { timeoutInterval: 60000 } } }) }