Skip to content

Commit

Permalink
fix: flaky fetch tests (#1956)
Browse files Browse the repository at this point in the history
  • Loading branch information
KhafraDev authored Feb 22, 2023
1 parent ab494d2 commit bc8e2b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/fetch/data-uri.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,14 +180,14 @@ test('too long base64 url', async (t) => {

test('https://domain.com/#', (t) => {
t.plan(1)
const domain = 'https://domain.com/#'
const domain = 'https://domain.com/#a'
const serialized = URLSerializer(new URL(domain))
t.equal(serialized, domain)
})

test('https://domain.com/?', (t) => {
t.plan(1)
const domain = 'https://domain.com/?'
const domain = 'https://domain.com/?a=b'
const serialized = URLSerializer(new URL(domain))
t.equal(serialized, domain)
})

0 comments on commit bc8e2b8

Please sign in to comment.