mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28: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
9
Userland/Libraries/LibJS/Tests/builtins/String/String.js
Normal file
9
Userland/Libraries/LibJS/Tests/builtins/String/String.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
test("constructor properties", () => {
|
||||
expect(String).toHaveLength(1);
|
||||
expect(String.name).toBe("String");
|
||||
});
|
||||
|
||||
test("typeof", () => {
|
||||
expect(typeof String()).toBe("string");
|
||||
expect(typeof new String()).toBe("object");
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue