LibWeb: Fix nodeName attribute in tests

Commit 19731fc14c (#6864) made all nodeName attributes on HTML elements
uppercased. This change fixes that in all HTML & DOM tests.
This commit is contained in:
Adam Hodgen
2021-05-09 16:42:15 +01:00
committed by Andreas Kling
parent 37685b0181
commit 737f6e97b2
7 changed files with 12 additions and 12 deletions

View File

@@ -5,7 +5,7 @@ afterInitialPageLoad(() => {
expect(document.head).not.toBeNull();
// FIXME: Add this in once HTMLHeadElement's constructor is implemented.
//expect(document.head).toBeInstanceOf(HTMLHeadElement);
expect(document.head.nodeName).toBe("head");
expect(document.head.nodeName).toBe("HEAD");
});
// FIXME: Add this in once removeChild is implemented.