mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-05-20 01:59:01 +00:00
LibJS/Tests: Add length test for Temporal.Instant.prototype.equals()
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
describe("correct behavior", () => {
|
||||
test("length is 1", () => {
|
||||
expect(Temporal.Instant.prototype.equals).toHaveLength(1);
|
||||
});
|
||||
|
||||
test("basic functionality", () => {
|
||||
const instant1 = new Temporal.Instant(111n);
|
||||
expect(instant1.equals(instant1));
|
||||
|
||||
Reference in New Issue
Block a user