We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5fbe96 commit 8c8708cCopy full SHA for 8c8708c
benchmark/url/url-searchparams-update.js
@@ -17,7 +17,7 @@ function getMethod(url, property) {
17
18
function main({ searchParams, property, n }) {
19
const url = new URL('https://nodejs.org');
20
- if (searchParams === 'true') assert(url.searchParams);
+ if (searchParams === 'true') assert.ok(url.searchParams);
21
22
const method = getMethod(url, property);
23
0 commit comments