mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:57:35 +00:00
LibJS/Tests: Fix this value error test description in a PlainDate test
This commit is contained in:
parent
2c46a0fa6c
commit
38645347a7
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ describe("correct behavior", () => {
|
|||
});
|
||||
|
||||
test("errors", () => {
|
||||
test("this value must be a Temporal.Duration object", () => {
|
||||
test("this value must be a Temporal.PlainDate object", () => {
|
||||
expect(() => {
|
||||
Reflect.get(Temporal.PlainDate.prototype, "calendar", "foo");
|
||||
}).toThrowWithMessage(TypeError, "Not a Temporal.PlainDate");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue