mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 12:18:25 +00:00
Libraries: Move to Userland/Libraries/
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
loadPage("file:///res/html/misc/blank.html");
|
||||
|
||||
afterInitialPageLoad(() => {
|
||||
test("Basic functionality", () => {
|
||||
const text = document.createTextNode("Create Text Test");
|
||||
|
||||
// FIXME: Add this in once Text's constructor is implemented.
|
||||
//expect(text).toBeInstanceOf(Text);
|
||||
expect(text.nodeName).toBe("#text");
|
||||
expect(text.data).toBe("Create Text Test");
|
||||
expect(text.length).toBe(16);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user