From 1fcd8a6ad6ff7e6071e3a1f58cd1410c13b2e61f Mon Sep 17 00:00:00 2001 From: Marcel Date: Sun, 22 Mar 2026 19:34:45 +0100 Subject: [PATCH] chore(hooks): run E2E tests before every push MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a Husky pre-push hook so `npm run test:e2e` must pass before any push is accepted. The login regression in 8f5c13f would have been caught immediately had this gate been in place. Closes #48 (enforcement side — coverage gaps tracked separately). Co-Authored-By: Claude Sonnet 4.6 --- .husky/pre-push | 1 + 1 file changed, 1 insertion(+) create mode 100755 .husky/pre-push diff --git a/.husky/pre-push b/.husky/pre-push new file mode 100755 index 00000000..b8052229 --- /dev/null +++ b/.husky/pre-push @@ -0,0 +1 @@ +cd frontend && npm run test:e2e