Change folder name and suppress npm error swarm

This commit is contained in:
Claudiu Lodromanean 2017-03-21 10:03:06 -07:00
parent b363cd8c7f
commit de4757e402
13 changed files with 5 additions and 5 deletions

2
.gitignore vendored
View File

@ -32,7 +32,7 @@ tests/cli/vendor
# Unit tests
/tmp
/tests/bin/tmp
/tests/frontend-tests/config/local-*.json
/tests/e2e-tests/config/local-*.json
# Logs
/logs

View File

@ -251,10 +251,10 @@ module.exports = function( grunt ) {
].join( '&&' )
},
e2e_test: {
command: 'npm run test:single tests/frontend-tests/' + grunt.option( 'file' )
command: 'npm run --silent test:single tests/e2e-tests/' + grunt.option( 'file' )
},
e2e_tests: {
command: 'npm run test'
command: 'npm run --silent test'
}
},

View File

@ -10,8 +10,8 @@
"license": "GPL-3.0+",
"main": "Gruntfile.js",
"scripts": {
"test": "cross-env NODE_CONFIG_DIR='./tests/frontend-tests/config' BABEL_ENV=commonjs mocha \"tests/frontend-tests\" --compilers js:babel-register --recursive",
"test:single": "cross-env NODE_CONFIG_DIR='./tests/frontend-tests/config' BABEL_ENV=commonjs mocha --compilers js:babel-register"
"test": "cross-env NODE_CONFIG_DIR='./tests/e2e-tests/config' BABEL_ENV=commonjs mocha \"tests/e2e-tests\" --compilers js:babel-register --recursive",
"test:single": "cross-env NODE_CONFIG_DIR='./tests/e2e-tests/config' BABEL_ENV=commonjs mocha --compilers js:babel-register"
},
"devDependencies": {
"grunt": "~1.0.1",