Skip to content

Commit

Permalink
fix: flaky fetch tests (nodejs#1956)
Browse files Browse the repository at this point in the history
  • Loading branch information
KhafraDev authored and crysmags committed Feb 27, 2024
1 parent 08cb051 commit fa2ce06
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 fa2ce06

Please sign in to comment.