Skip to content

Commit e4aa626

Browse files
committed
make tests work on NodeJS 18
1 parent 6844ba3 commit e4aa626

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tests/web.url-search-params.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ QUnit.test('URLSearchParams#@@toStringTag', assert => {
857857

858858
if (typeof Request == 'function') {
859859
QUnit.test('URLSearchParams with Request', assert => {
860-
new Request('#', { body: new URLSearchParams({ foo: 'baz' }), method: 'POST' }).text().then(text => {
860+
new Request('http://zloirock.ru', { body: new URLSearchParams({ foo: 'baz' }), method: 'POST' }).text().then(text => {
861861
assert.same(text, 'foo=baz');
862862
}).then(assert.async());
863863
});

0 commit comments

Comments
 (0)