mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:58:13 +00:00
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:
parent
37685b0181
commit
737f6e97b2
7 changed files with 12 additions and 12 deletions
|
@ -14,7 +14,7 @@ afterInitialPageLoad(() => {
|
|||
expect(template.content.nodeName).toBe("#document-fragment");
|
||||
|
||||
const templateDiv = template.content.getElementById("templatediv");
|
||||
expect(templateDiv.nodeName).toBe("div");
|
||||
expect(templateDiv.nodeName).toBe("DIV");
|
||||
expect(templateDiv.textContent).toBe("Hello template!");
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue