src/cm/scripts/test-suite/karma.conf.js
changeset 592 cd268815de68
parent 579 869f02c75687
equal deleted inserted replaced
591:2274e86e1d72 592:cd268815de68
     1 // Karma configuration
     1 // Karma configuration
     2 // Generated on Wed Jan 29 2014 15:32:16 GMT+0100 (CET)
     2 // Generated on Wed Jan 29 2014 15:32:16 GMT+0100 (CET)
       
     3 
     3 
     4 
     4 // SID: get WORKSPACE_URL configuration from one single file to customize
     5 // SID: get WORKSPACE_URL configuration from one single file to customize
     5 var w = require ('./workspace.info.js');
     6 var w = require ('./workspace.info.js');
     6 
     7 
     7 module.exports = function(config) {
     8 module.exports = function(config) {
    15 		],
    16 		],
    16 		// Start these browsers, currently available:
    17 		// Start these browsers, currently available:
    17 		// - Firefox	; Safari	(only Mac; run `npm install karma-safari-launcher` first)
    18 		// - Firefox	; Safari	(only Mac; run `npm install karma-safari-launcher` first)
    18 		// - Chrome		; ChromeCanary ; Opera (run `npm install karma-opera-launcher` first)
    19 		// - Chrome		; ChromeCanary ; Opera (run `npm install karma-opera-launcher` first)
    19 		// - PhantomJS	; IE		(only Windows; run `npm install karma-ie-launcher` first)
    20 		// - PhantomJS	; IE		(only Windows; run `npm install karma-ie-launcher` first)
    20 		browsers: ['Chrome'],
    21 		browsers: w.BROWSERS,
    21 		// frameworks to use. SID: choosen mocha, added karma-e2e-dsl (end-to-end testing)
    22 		// frameworks to use. SID: choosen mocha, added karma-e2e-dsl (end-to-end testing)
    22 		frameworks: ['mocha', 'karma-e2e-dsl'],
    23 		frameworks: ['mocha', 'karma-e2e-dsl'],
    23 		// SID: Karma will start and run somewhere else than '/', to allow proxying '/'
    24 		// SID: Karma will start and run somewhere else than '/', to allow proxying '/'
    24 		urlRoot: '/karma/',
    25 		urlRoot: '/karma/',
    25 		// SID: directive added on karma-e2e-dsl purpose. Map of path-proxy pairs.
    26 		// SID: directive added on karma-e2e-dsl purpose. Map of path-proxy pairs.