Skip to content

Commit

Permalink
fix(husky): updated test commands
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnydanu committed Nov 2, 2024
1 parent 4713e96 commit ef2076d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .husky/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ 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

# Run Playwright tests
pnpm test:e2e
pnpm test:e2e:dev

# Capture the exit status of the Playwright tests
E2E_TEST_EXIT_STATUS=$?
Expand Down

0 comments on commit ef2076d

Please sign in to comment.