mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
test: fix WPT title when no META title is present
PR-URL: https://github.com/nodejs/node/pull/46804 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Richard Lau <rlau@redhat.com>
This commit is contained in:
1 parent
4b91420307
commit
e5fa7a139a
1 file changed
+1
-1
+1
-1
@@ -721,7 +721,7 @@ class WPTRunner {
|
||||
|
||||
getTestTitle(filename) {
|
||||
const spec = this.specMap.get(filename);
|
||||
return spec.meta?.title || filename;
|
||||
return spec.meta?.title || filename.split('.')[0];
|
||||
}
|
||||
|
||||
// Map WPT test status to strings
|
||||
|
||||
Reference in new issue
Block a user