aboutsummaryrefslogtreecommitdiffstats
path: root/karma-shared.conf.js
blob: 814767088cf8f4feb50c605198d0a48da5be98b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module.exports = function(config) {
  config.set({
    frameworks: ['jasmine'],
    autoWatch: true,
    logLevel: config.LOG_INFO,
    logColors: true,
    browsers: ['Chrome'],
    runnerPort: 0,

    // config for Travis CI
    sauceLabs: {
      testName: 'AngularJS',
      startConnect: false,
      tunnelIdentifier: process.env.TRAVIS_JOB_NUMBER
    },

    customLaunchers: {
      'SL_Chrome': {
        base: 'SauceLabs',
        browserName: 'chrome'
      }
    }
  });
};