mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:48:11 +00:00
Libraries: Move to Userland/Libraries/
This commit is contained in:
parent
dc28c07fa5
commit
13d7c09125
1857 changed files with 266 additions and 274 deletions
|
@ -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);
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue