Philip Chimento
e46b317b18
Temporal: Add test coverage for canonicalizing era codes in from()
...
There was a coverage gap for converting calendar fields to a date when the
provided era was an alias.
See https://github.com/tc39/proposal-temporal/pull/2940#discussion_r1767508659
2024-09-20 17:04:19 +02:00
Philip Chimento
6f8f6b5261
Temporal: Tests for ignoring era and eraYear in calendars without eras
...
This tests some of the prose requirements of CalendarResolveFields.
See https://github.com/tc39/proposal-temporal/issues/2870
2024-09-10 09:28:24 -07:00
Philip Chimento
3f805a1383
Temporal: Test calendar canonicalization in Temporal
...
Following the upstream ECMA-402 change tested in the previous commit, add
test coverage for the corresponding functionality in Temporal. Fix one
test that was erroneous.
2024-07-04 11:14:16 +02:00
Philip Chimento
77a34cf93f
Add Temporal tests
...
This copies over the tests that previously existed in the
tc39/proposal-temporal repository.
For context, see thread starting at:
https://github.com/tc39/test262/issues/3002#issuecomment-926234480
In service of https://github.com/tc39/test262/issues/3002
2021-10-01 14:30:12 -04:00