mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-02 12:32:20 +02:00
LibWeb: Reorganize tests into DOM/ and HTML/
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 04:20:46 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/354f9aafd50
8
Libraries/LibWeb/Tests/DOM/document.documentElement.js
Normal file
8
Libraries/LibWeb/Tests/DOM/document.documentElement.js
Normal file
@@ -0,0 +1,8 @@
|
||||
loadPage("file:///res/html/misc/blank.html");
|
||||
|
||||
afterInitialPageLoad(() => {
|
||||
test("Basic functionality", () => {
|
||||
expect(document.documentElement).not.toBe(null);
|
||||
expect(document.documentElement.nodeName).toBe("html");
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user