From 0afb64c28de9b5277e8c4c8a6e7a15c781b9249d Mon Sep 17 00:00:00 2001 From: sunnydanu Date: Sat, 2 Nov 2024 14:28:12 +0530 Subject: [PATCH] fix(husky): fixed pre-push command --- .husky/pre-push | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.husky/pre-push b/.husky/pre-push index b8332d56..468e1f5b 100644 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -17,11 +17,11 @@ if [ $TEST_EXIT_STATUS -ne 0 ]; then fi # Start the local server in the background -pnpm dev +pnpm dev& SERVER_PID=$! # Wait for the server to start (adjust the sleep duration as needed) -sleep 10 +sleep 5 # Run Playwright tests pnpm test:e2e:dev