Refactor: Adjust test timeout and enable verbose output for unit and integration tests in deploy-to-test workflow
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 30m14s

This commit is contained in:
2025-12-16 19:32:36 -08:00
parent a25eafc062
commit 84d6b74b1c

View File

@@ -111,10 +111,10 @@ jobs:
# Run unit and integration tests as separate steps.
# The `|| true` ensures the workflow continues even if tests fail, allowing coverage to run.
echo "--- Running Unit Tests ---"
npm run test:unit -- --coverage --reporter=verbose --includeTaskLocation --testTimeout=20000 || true
npm run test:unit -- --coverage --reporter=verbose --includeTaskLocation --testTimeout=10000 --silent=false || true
echo "--- Running Integration Tests ---"
npm run test:integration -- --coverage --reporter=verbose --includeTaskLocation --testTimeout=20000 || true
npm run test:integration -- --coverage --reporter=verbose --includeTaskLocation --testTimeout=10000 --silent=false || true
# Re-enable secret masking for subsequent steps.
echo "::secret-masking::"