Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #11084 from brave/tests/no-pre-push
Browse files Browse the repository at this point in the history
remove unittest from pre-push hook
  • Loading branch information
bbondy committed Oct 26, 2017
1 parent 78ef9ab commit 27f560b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"flow": "flow; test $? -eq 0 -o $? -eq 2",
"lint": "standard",
"postinstall": "npm run download-sync-client && webpack",
"pre-push-tests": "if [ -z $NO_PUSH_TESTS ]; then npm run unittest; fi",
"start-log": "node ./tools/start.js --user-data-dir-name=brave-development --enable-logging=stderr --v=1 --enable-extension-activity-logging --enable-sandbox-logging --enable-dcheck",
"start": "node ./tools/start.js --user-data-dir-name=brave-development --enable-logging --v=0 --enable-extension-activity-logging --enable-sandbox-logging --enable-dcheck",
"start2": "node ./tools/start.js --user-data-dir-name=brave-development-2 --enable-logging --v=0 --enable-extension-activity-logging --enable-sandbox-logging --enable-dcheck",
Expand Down Expand Up @@ -224,7 +225,7 @@
"pre-push": {
"run": [
"lint",
"unittest"
"pre-push-tests"
]
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion tools/lib/ignoredPaths.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/. */

module.exports = [
'pre-comit',
'pre-commit',
'pre-push',
'test/',
'docs/',
Expand Down

0 comments on commit 27f560b

Please sign in to comment.