mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:37:35 +00:00
LibJS: Implement parsing of TemporalRelativeToString
This commit is contained in:
parent
98b876ad3f
commit
1583c7257c
12 changed files with 370 additions and 61 deletions
|
@ -37,8 +37,7 @@ describe("correct behavior", () => {
|
|||
expect(createdPlainTime.nanosecond).toBe(0);
|
||||
});
|
||||
|
||||
// Un-skip once ParseISODateTime & ParseTemporalTimeString are implemented
|
||||
test.skip("PlainTime string argument", () => {
|
||||
test("PlainTime string argument", () => {
|
||||
const createdPlainTime = Temporal.PlainTime.from("2021-08-27T18:44:11Z");
|
||||
expect(createdPlainTime.hour).toBe(18);
|
||||
expect(createdPlainTime.minute).toBe(44);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue