From 09052f319e1064ae488fa927f37ef038314a674b Mon Sep 17 00:00:00 2001 From: Khaidi Chu Date: Sun, 10 Apr 2022 16:09:04 +0800 Subject: [PATCH] test: remove an unnecessary `undefined` in wpt PR-URL: https://github.com/nodejs/node/pull/41470 Reviewed-By: Luigi Pinca Reviewed-By: Qingyu Deng Reviewed-By: Rich Trott Reviewed-By: James M Snell --- test/common/wpt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/common/wpt.js b/test/common/wpt.js index cad77aec3642dc..ff969f4358c990 100644 --- a/test/common/wpt.js +++ b/test/common/wpt.js @@ -78,7 +78,7 @@ class ResourceLoader { } class StatusRule { - constructor(key, value, pattern = undefined) { + constructor(key, value, pattern) { this.key = key; this.requires = value.requires || []; this.fail = value.fail;