Change folder name and suppress npm error swarm
This commit is contained in:
parent
b363cd8c7f
commit
de4757e402
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue