Skip to content

Commit

Permalink
Add support for printing test-results directory for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
deepjyoti30-st committed Dec 4, 2024
1 parent 8f10758 commit 50d8fc2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .circleci/setupAndTestBackendSDKWithFreeCore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,7 @@ export multi="spec=- mocha-junit-reporter=$MOCHA_FILE"
mkdir -p test-results
TEST_FILES=$(circleci tests glob "test/**/*.test.js")
echo "$TEST_FILES" | circleci tests run --command="xargs npx mocha mocha --reporter mocha-multi --node-option no-experimental-fetch -r test/fetch-polyfill.mjs --timeout 500000 --no-config" --verbose --split-by=timings
ls -al
echo "Printing previous directory"
cd .. && ls -al
ls -al test-results

# kill test-server
kill $(lsof -t -i:$API_PORT)

0 comments on commit 50d8fc2

Please sign in to comment.