Skip to content

Commit

Permalink
make it fail
Browse files Browse the repository at this point in the history
  • Loading branch information
carafelix committed Jun 20, 2024
1 parent a4b0f24 commit d72a367
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
echo SUDO_SECRET="$SUDO_SECRET" >> .dev.vars
echo XATA_API_KEY="$XATA_API_KEY" >> .dev.vars
echo XATA_DB="$XATA_DB" >> .dev.vars
cat .dev.vars
- run: npm install
- run: npm run test

5 changes: 3 additions & 2 deletions test/router.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ describe('API Tests', () => {
name: 'José Lezama Lima',
}])
})
// it('only list author that match a certain country', () => {
// })
it('only list author that match a certain country', () => {
expect(true).toBe(false)

Check failure on line 24 in test/router.test.ts

View workflow job for this annotation

GitHub Actions / tests

test/router.test.ts > API Tests > Data Endpoints > Authors > only list author that match a certain country

AssertionError: expected true to be false // Object.is equality - Expected + Received - false + true ❯ test/router.test.ts:24:26
})
// it('only list author born after x date', () => {
// })
// it('only list author born before x date', () => {
Expand Down

0 comments on commit d72a367

Please sign in to comment.