mirror of https://github.com/tc39/test262.git
These tests did not fully cover Temporal.Duration.prototype.round and Temporal.Duration.prototype.total because they called those methods on a blank duration (all components zero), for which there is an early return in round() and total(). This meant that we missed an assertion that would be hit after the early return. This makes sure to test both blank and non-blank Durations with these relativeTo strings, and expect some strings to fail at different steps with the two cases. See: tc39/proposal-temporal#3015 |
||
---|---|---|
.. | ||
Duration | ||
Instant | ||
Now | ||
PlainDate | ||
PlainDateTime | ||
PlainMonthDay | ||
PlainTime | ||
PlainYearMonth | ||
ZonedDateTime | ||
toStringTag | ||
getOwnPropertyNames.js | ||
keys.js | ||
prop-desc.js |