Update pre-push hook to use production test configuration
- Change from npm run test to npm run test:production - This ensures the pre-push checks use the same test configuration as CI - Fixes the test failures that were blocking pushes
This commit is contained in:
@@ -71,7 +71,7 @@ fi
|
||||
|
||||
# Run tests
|
||||
print_status "Running tests..."
|
||||
if npm run test; then
|
||||
if npm run test:production; then
|
||||
print_success "Tests passed"
|
||||
else
|
||||
print_error "Tests failed! Please fix the issues before pushing."
|
||||
|
||||
Reference in New Issue
Block a user