There was an error while loading. Please reload this page.
1 parent 03ec394 commit 101c78dCopy full SHA for 101c78d
gulpfile.js
@@ -516,12 +516,5 @@ exports.hygiene = hygiene;
516
517
// this allows us to run hygiene as a git pre-commit hook.
518
if (require.main === module) {
519
- const result = run({ exitOnError: true, mode: 'staged' });
520
- // Run unit tests and ensure they pass as well.
521
- if (result && result.on) {
522
- result.on('end', () => {
523
- const main = require('./out/test/unittests');
524
- main.runTests();
525
- })
526
- }
+ run({ exitOnError: true, mode: 'staged' });
527
}
news/3 Code Health/1986.md
@@ -0,0 +1 @@
1
+Removed pre-commit hook that ran unit tests.
0 commit comments