We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dba409 commit b3fc2fdCopy full SHA for b3fc2fd
package.json
@@ -14,6 +14,7 @@
14
"copy-flow-files": "cd src; copy *.js.flow **/*.js.flow ../lib",
15
"build": "rimraf lib && babel src --out-dir lib",
16
"test": "NODE_ENV=production BABEL_ENV=test nyc --reporter=lcov --reporter=text mocha $npm_package_config_mocha",
17
+ "test:watch": "mocha --watch $npm_package_config_mocha",
18
"commitmsg": "validate-commit-msg",
19
"precommit": "npm run lint && flow",
20
"prepush": "npm test",
test/clearConsole.js
@@ -0,0 +1,6 @@
1
+/* eslint-env node */
2
+
3
+if (process.argv.indexOf('--watch') >= 0) {
4
+ before(() => process.stdout.write('\u001b[2J\u001b[1;1H\u001b[3J'))
5
+}
6
0 commit comments