Skip to content

Commit

Permalink
Merge pull request #490 from DataDog/juli1/add-test-js-ts
Browse files Browse the repository at this point in the history
Add tests for JS/TS
  • Loading branch information
juli1 authored Aug 14, 2024
2 parents 9e0f20d + 8043b66 commit 4bc980d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions misc/integration-test-js-ts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ if [ $? -ne 0 ]; then
exit 1
fi

FINDINGS=`jq '.runs[0].results|length' ${REPO_DIR}/results.json`
echo "Found $FINDINGS violations"
if [ $FINDINGS -lt 10 ]; then
echo "only $FINDINGS found, expected at least 10 findings"
exit 1
fi

echo "All tests passed"

exit 0

0 comments on commit 4bc980d

Please sign in to comment.