mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:57:44 +00:00
LibJS: Implement parsing of TemporalDateString
This commit is contained in:
parent
3f1af7c05f
commit
02e7de2cba
8 changed files with 27 additions and 13 deletions
|
@ -28,8 +28,7 @@ describe("correct behavior", () => {
|
|||
expect(createdPlainDate.day).toBe(26);
|
||||
});
|
||||
|
||||
// Un-skip once ParseISODateTime & ParseTemporalDateString are implemented
|
||||
test.skip("PlainDate string argument", () => {
|
||||
test("PlainDate string argument", () => {
|
||||
const createdPlainDate = Temporal.PlainDate.from("2021-07-26");
|
||||
expect(createdPlainDate.year).toBe(2021);
|
||||
expect(createdPlainDate.month).toBe(7);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue