Skip to content

Commit

Permalink
Convert makelogs and mocha npm scripts (elastic#11665)
Browse files Browse the repository at this point in the history
* [scripts] convert `npm run makelogs` to script

* [scripts] convert `npm run mocha` to script

* [scripts] add warning to `test:ui:runner` npm script

* [script] fix location of scripts in warnings
  • Loading branch information
spalger authored May 9, 2017
1 parent 9509d9e commit d126e7c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"test:browser": "grunt test:browser",
"test:ui": "grunt test:ui",
"test:ui:server": "grunt test:ui:server",
"test:ui:runner": "echo 'use `node scripts/functional_test_runner`' && false",
"test:server": "grunt test:server",
"test:coverage": "grunt test:coverage",
"test:visualRegression": "grunt test:visualRegression",
Expand All @@ -58,9 +59,8 @@
"elasticsearchWithPlugins": "grunt esvm:withPlugins:keepalive",
"lint": "grunt eslint:source",
"lintroller": "grunt eslint:fixSource",
"makelogs": "makelogs",
"mocha": "mocha",
"mocha:debug": "mocha --debug-brk",
"makelogs": "echo 'use `node scripts/makelogs`' && false",
"mocha": "echo 'use `node scripts/mocha`' && false",
"sterilize": "grunt sterilize",
"uiFramework:start": "grunt uiFramework:start",
"uiFramework:build": "grunt uiFramework:build"
Expand Down
1 change: 1 addition & 0 deletions scripts/makelogs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require('makelogs');
1 change: 1 addition & 0 deletions scripts/mocha.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require('mocha/bin/mocha');

0 comments on commit d126e7c

Please sign in to comment.