|
@@ -30,14 +30,12 @@ describe("normal behavior", () => {
|
|
|
["1970-01-01T00:00:00.000000000+01:00:00", "+01:00"],
|
|
|
["1970-01-01+12:34", "+12:34"],
|
|
|
["1970-01-01+12:34:56", "+12:34:56"],
|
|
|
- // FIXME: These currently crash :^(
|
|
|
- // ["1970-01-01+12:34:56.789", "+12:34:56.789"],
|
|
|
- // ["1970-01-01+12:34:56.789[-01:00]", "+12:34:56.789"],
|
|
|
+ ["1970-01-01+12:34:56.789", "+12:34:56.789"],
|
|
|
+ ["1970-01-01+12:34:56.789[-01:00]", "+12:34:56.789"],
|
|
|
["1970-01-01-12:34", "-12:34"],
|
|
|
["1970-01-01-12:34:56", "-12:34:56"],
|
|
|
- // FIXME: These currently crash :^(
|
|
|
- // ["1970-01-01-12:34:56.789", "-12:34:56.789"],
|
|
|
- // ["1970-01-01-12:34:56.789[+01:00]", "-12:34:56.789"],
|
|
|
+ ["1970-01-01-12:34:56.789", "-12:34:56.789"],
|
|
|
+ ["1970-01-01-12:34:56.789[+01:00]", "-12:34:56.789"],
|
|
|
];
|
|
|
for (const [arg, expected] of values) {
|
|
|
expect(Temporal.TimeZone.from(arg).id).toBe(expected);
|