mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
test-js: Use prettier and format all files
This commit is contained in:
committed by
Andreas Kling
parent
e532888242
commit
6d58c48c2f
@@ -1,9 +1,9 @@
|
||||
test("use with array", () => {
|
||||
let names = Object.getOwnPropertyNames([1, 2, 3]);
|
||||
expect(names).toEqual(["0", "1", "2", "length"]);
|
||||
let names = Object.getOwnPropertyNames([1, 2, 3]);
|
||||
expect(names).toEqual(["0", "1", "2", "length"]);
|
||||
});
|
||||
|
||||
test("use with object", () => {
|
||||
let names = Object.getOwnPropertyNames({ foo: 1, bar: 2, baz: 3 });
|
||||
expect(names).toEqual(["foo", "bar", "baz"]);
|
||||
let names = Object.getOwnPropertyNames({ foo: 1, bar: 2, baz: 3 });
|
||||
expect(names).toEqual(["foo", "bar", "baz"]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user