Skip to content

Commit

Permalink
fix: get test passing
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Oct 15, 2022
1 parent 24ff932 commit c6c2da6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions playground/assets/__tests__/assets.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ test('should have no 404s', () => {
})

test('should get a 404 when using incorrect case', async () => {
expect((await fetch(viteTestUrl + 'raw.js')).status).toBe(200)
expect((await fetch(viteTestUrl + 'RAW.js')).status).toBe(404)
expect((await fetch(viteTestUrl + 'icon.png')).status).toBe(200)
expect((await fetch(viteTestUrl + 'ICON.PNG')).status).toBe(404)
})

describe('injected scripts', () => {
Expand Down

0 comments on commit c6c2da6

Please sign in to comment.