tests: Move npm-test to repo root

This is way overdue as it isn't experimental anymore.
Keeping it in a non-standard subdirectory makes it harder to
discover for people. And makes it harder to run from Jenkins
since this is already being ran on every commit.

Related to 70f3919.

Change-Id: Iaf5cf65616f82640145fbb6395c36129428602ca
This commit is contained in:
Timo Tijhof 2015-01-08 20:33:47 +00:00 committed by Krinkle
parent bb08139a5a
commit 57f5e6bf20
2 changed files with 2 additions and 8 deletions

View file

@ -1,7 +1,3 @@
/*!
* Grunt file
*/
/*jshint node:true */
module.exports = function ( grunt ) {
grunt.loadNpmTasks( 'grunt-contrib-jshint' );
@ -11,13 +7,11 @@ module.exports = function ( grunt ) {
grunt.loadNpmTasks( 'grunt-jsonlint' );
grunt.loadNpmTasks( 'grunt-karma' );
grunt.file.setBase( __dirname + '/../..' );
var wgServer = process.env.MW_SERVER,
wgScriptPath = process.env.MW_SCRIPT_PATH;
grunt.initConfig( {
pkg: grunt.file.readJSON( __dirname + '/package.json' ),
pkg: grunt.file.readJSON( 'package.json' ),
jshint: {
options: {
jshintrc: true
@ -49,7 +43,7 @@ module.exports = function ( grunt ) {
all: [
'.jscsrc',
'{languages,maintenance,resources}/**/*.json',
'tests/frontend/package.json'
'package.json'
]
},
banana: {