test262/test/built-ins/Temporal
Philip Chimento eefc5cf367 Temporal: Improve coverage of relativeto-string-limits tests
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
2024-12-05 15:02:50 +01:00
..
Duration Temporal: Improve coverage of relativeto-string-limits tests 2024-12-05 15:02:50 +01:00
Instant Move all tests from staging/Temporal/Instant/old to test/built-ins/Temporal/Instant (#4282) 2024-10-30 14:29:02 -07:00
Now Temporal: Add coverage for disallowed seconds in offset time zone identifiers 2024-10-07 12:02:45 +02:00
PlainDate Temporal: Add coverage for validating month code syntax vs suitability 2024-10-07 12:02:45 +02:00
PlainDateTime Temporal: Add coverage for validating month code syntax vs suitability 2024-10-07 12:02:45 +02:00
PlainMonthDay Temporal: Add coverage for validating month code syntax vs suitability 2024-10-07 12:02:45 +02:00
PlainTime Temporal: Further coverage and tweaks for removing Calendar/TimeZone objs 2024-08-22 14:00:43 -07:00
PlainYearMonth Add tests for adding negative durations to/subtracting durations from the last representable year/month of the ISO calendar 2024-11-01 12:57:28 -07:00
ZonedDateTime Fix strict mode error 2024-11-19 17:02:40 +01:00
toStringTag
getOwnPropertyNames.js Temporal: Test adjustments for removing calendar and time zone objects 2024-07-05 10:43:53 +02:00
keys.js
prop-desc.js