tc39 / test262

Official ECMAScript Conformance Test Suite
Other
2.32k stars 459 forks source link

Temporal: Tests for Duration rounding fix & consolidation #4041

Closed ptomato closed 4 months ago

ptomato commented 5 months ago

This PR contains test coverage for https://github.com/tc39/proposal-temporal/pull/2758 which was a normative change that reached consensus at the February 2024 TC39 meeting.

Note that we still expect some review comments from implementors on that PR, so these tests are currently marked as a draft.

ptomato commented 4 months ago

This is ready now.

ptomato commented 4 months ago

The few test files that are actually relevant to review, not just trivial adjustments, are:

And note the change to weeks rounding in the various roundingmode-*.js tests. See https://github.com/tc39/proposal-temporal/issues/2728 for discussion on that topic.