Skip to content

Commit

Permalink
test: remove
Browse files Browse the repository at this point in the history
  • Loading branch information
tsctx committed Nov 25, 2023
1 parent 41c1e74 commit 3a37e7b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions test/fetch/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -497,11 +497,4 @@ test('Clone the set-cookie header when Request is passed as the first parameter
t.equal(request2.headers.getSetCookie().join(', '), request2.headers.get('set-cookie'))
})

// Tests for optimization introduced in https://github.com/nodejs/undici/pull/2456
test('keys to object prototypes method', (t) => {
t.plan(1)
const request = new Request('http://localhost', { method: 'hasOwnProperty' })
t.ok(typeof request.method === 'string')
})

teardown(() => process.exit())

0 comments on commit 3a37e7b

Please sign in to comment.