1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- module.exports = function (config) {
- 'use strict';
- config.set({
- basePath: '../../',
- browserNoActivityTimeout: 1800000,
- urlRoot: '/karma',
- frameworks: ['mocha', 'chai', 'sinon'],
- files: [
- './Tools/DevLoader/BabylonLoader.js',
- './tests/validation/index.css',
- './tests/validation/integration.js',
- { pattern: '**/*', watched: false, included: false, served: true },
- ],
- proxies: {
- '/': '/base/'
- },
- //reporters: ['progress'],
- port: 1338,
- 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_ERROR,
- //browsers: ['Chrome'],
- sauceLabs: {
- testName: 'Web App Unit Tests'
- },
- customLaunchers: {
- sl_firefox: {
- base: 'SauceLabs',
- browserName: 'firefox',
- platform: 'Windows 10',
- version: '57'
- },
- sl_ie_11: {
- base: 'SauceLabs',
- browserName: 'internet explorer',
- platform: 'Windows 10',
- version: '11'
- },
- sl_android: {
- base: 'SauceLabs',
- browserName: 'Browser',
- platform: 'Android',
- version: '4.4',
- deviceName: 'Samsung Galaxy S3 Emulator',
- deviceOrientation: 'portrait'
- }
- },
- browsers: ['sl_firefox'],
- reporters: ['dots', 'saucelabs'],
- singleRun: true
- });
- };
|