grunt.loadNpmTasks( 'grunt-karma' );
grunt.loadNpmTasks( 'grunt-stylelint' );
- karmaProxy[ wgScriptPath ] = wgServer + wgScriptPath;
+ karmaProxy[ wgScriptPath ] = {
+ target: wgServer + wgScriptPath,
+ changeOrigin: true
+ };
grunt.initConfig( {
eslint: {
// Skip functions aren't even parseable
'!resources/src/dom-level2-skip.js',
'!resources/src/es5-skip.js',
- '!resources/src/json-skip.js',
'!resources/src/mediawiki.hidpi-skip.js'
]
},
main: {
browsers: [ 'Chrome' ]
},
+ chromium: {
+ browsers: [ 'Chromium' ]
+ },
more: {
browsers: [ 'Chrome', 'Firefox' ]
}