Skip to content

Commit

Permalink
test: trying to update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
plvzfq-rit authored Jan 12, 2025
1 parent f682d8f commit adde018
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ describe('index page', () => {
})

describe('download', () => {
it('redirects to fosshub', async () => {
it('downloads file from GitHub release', async () => {
const response = await fetch('/download')
// Client side redirect uses meta refresh
expect(response.status).toBe(200)
expect(await response.text()).toContain(
'https://www.fosshub.com/JabRef.html',
'https://github.com/JabRef/jabref/releases/download/',
)
})
})

0 comments on commit adde018

Please sign in to comment.