mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:57:35 +00:00
LibJS: Include time zone name in TemporalInvalidTimeZoneName error
This commit is contained in:
parent
a433727961
commit
d42336312c
4 changed files with 4 additions and 4 deletions
|
@ -8,7 +8,7 @@ describe("errors", () => {
|
|||
test("Invalid time zone name", () => {
|
||||
expect(() => {
|
||||
new Temporal.TimeZone("foo");
|
||||
}).toThrowWithMessage(RangeError, "Invalid time zone name");
|
||||
}).toThrowWithMessage(RangeError, "Invalid time zone name 'foo'");
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue