123456789101112131415161718192021222324252627282930313233343536373839 |
- module.exports = function (config) {
- config.set({
- basePath: '../../',
- captureTimeout: 3e5,
- browserNoActivityTimeout: 3e5,
- browserDisconnectTimeout: 3e5,
- browserDisconnectTolerance: 3,
- concurrency: 1,
- urlRoot: '/karma/',
- frameworks: ['mocha', 'chai', 'sinon'],
- files: [
- './tests/modules/tests-karma.js',
- // load the latest build
- { pattern: './tests/modules/build/dependencies/**/*.js', watched: false, included: true, served: true },
- './tests/modules/build/tests-loader.js',
- { pattern: 'assets/**/*', watched: false, included: false, served: true },
- { pattern: 'Playground/scenes/**/*', watched: false, included: false, served: true },
- { pattern: 'Playground/textures/**/*', watched: false, included: false, served: true },
- { pattern: 'Playground/sounds/**/*', watched: false, included: false, served: true }
- ],
- proxies: {
- '/': '/base/'
- },
- port: 3000,
- colors: true,
- autoWatch: false,
- singleRun: true,
- // level of logging
- // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
- logLevel: config.LOG_INFO,
- browsers: ['PhantomJS']
- })
- }
|