1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- module.exports = function (config) {
- 'use strict';
- config.set({
- basePath: '../../',
- captureTimeout: 3e5,
- browserNoActivityTimeout: 3e5,
- browserDisconnectTimeout: 3e5,
- browserDisconnectTolerance: 3,
- concurrency: 1,
- urlRoot: '/karma',
- frameworks: ['mocha', 'chai', 'sinon'],
- files: [
- './dist/preview release/earcut.min.js',
- './Tools/DevLoader/BabylonLoader.js',
- './tests/validation/index.css',
- './tests/validation/integration.js',
- './favicon.ico',
- { pattern: 'dist/**/*', watched: false, included: false, served: true },
- { pattern: 'assets/**/*', watched: false, included: false, served: true },
- { pattern: 'tests/**/*', 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 },
- { pattern: 'Tools/DevLoader/**/*', watched: false, included: false, served: true },
- { pattern: 'Tools/Gulp/config.json', watched: false, included: false, served: true },
- ],
- proxies: {
- '/': '/base/'
- },
- port: 3000,
- colors: true,
- autoWatch: false,
- singleRun: false,
- // 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: ['Chrome']
- });
- };
|