grunt.loadNpmTasks( 'grunt-jsonlint' );
grunt.loadNpmTasks( 'grunt-karma' );
grunt.loadNpmTasks( 'grunt-stylelint' );
- grunt.loadNpmTasks( 'grunt-webdriver' );
karmaProxy[ wgScriptPath ] = {
target: wgServer + wgScriptPath,
'!node_modules/**',
'!resources/lib/**',
'!resources/src/jquery.tipsy/**',
- '!resources/src/jquery/jquery.farbtastic.js',
- '!resources/src/mediawiki.libs/**',
+ '!resources/src/mediawiki.libs.jpegmeta/**',
// Third-party code of PHPUnit coverage report
'!tests/coverage/**',
'!vendor/**',
// Explicitly say "**/*.js" here in case of symlinks
'!extensions/**/*.js',
- '!skins/**/*.js',
- // Skip functions aren't even parseable
- '!resources/src/mediawiki.hidpi-skip.js'
+ '!skins/**/*.js'
]
},
jsonlint: {
return require( 'path' ).join( dest, src.replace( 'resources/', '' ) );
}
}
- },
-
- // Configure WebdriverIO task
- webdriver: {
- test: {
- configFile: './tests/selenium/wdio.conf.js'
- }
}
-
} );
grunt.registerTask( 'assert-mw-env', function () {