Skip to content

Commit

Permalink
add quality gate
Browse files Browse the repository at this point in the history
  • Loading branch information
juan-fernandez committed Jun 4, 2024
1 parent 4543f8b commit f832903
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ jobs:

- name: Run tests
## ******CLOSE THE DEAL TODO*******: SUBSTITUTE BY THE COMMAND IN THE IN APP ONBOARDING
#run: echo "noop" ## ******CLOSE THE DEAL TODO*******: Delete me!
run: npm test
run: |
echo "noop"
continue-on-error: true
env:
NODE_OPTIONS: -r dd-trace/ci/init

- name: Check quality gate
run: |
npx @datadog/datadog-ci gate evaluate
1 change: 1 addition & 0 deletions tests/string.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ describe('String Utilities', () => {
expect(countVowels('')).toBe(0);
});

// **Failing test**: remove me!
test('countVowels should count the number of consonant in a string', () => {
expect(countVowels('hello')).toBe(3);
});
Expand Down

0 comments on commit f832903

Please sign in to comment.