From 8f08328a01c7964b888e22cd5bd7384bbb92bbef Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Tue, 21 Dec 2021 10:10:37 -0800 Subject: [PATCH] test: correct param name in JSDoc comment PR-URL: https://github.com/nodejs/node/pull/41241 Reviewed-By: Antoine du Hamel Reviewed-By: James M Snell --- test/common/wpt.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/common/wpt.js b/test/common/wpt.js index b0536f0bcc8a71..2a772f6f0fa8b1 100644 --- a/test/common/wpt.js +++ b/test/common/wpt.js @@ -58,8 +58,8 @@ class ResourceLoader { * @param {string} from the path of the file loading this resource, * relative to thw WPT folder. * @param {string} url the url of the resource being loaded. - * @param {boolean} asPromise if true, return the resource in a - * pseudo-Response object. + * @param {boolean} asFetch if true, return the resource in a + * pseudo-Response object. */ read(from, url, asFetch = true) { const file = this.toRealFilePath(from, url);