Skip to content

[Temporal] Remove test/staging/Temporal/v8/calendar-date-from-fields.js#4816

Merged
Ms2ger merged 8 commits intotc39:mainfrom
catamorphism:v8-staging-calendar-date-from-fields
Jan 16, 2026
Merged

[Temporal] Remove test/staging/Temporal/v8/calendar-date-from-fields.js#4816
Ms2ger merged 8 commits intotc39:mainfrom
catamorphism:v8-staging-calendar-date-from-fields

Conversation

@catamorphism
Copy link
Copy Markdown
Contributor

And move functionality into existing tests.

@catamorphism catamorphism requested review from a team as code owners January 7, 2026 01:47
Comment thread test/built-ins/Temporal/Duration/from/argument-non-string.js Outdated
Comment thread test/built-ins/Temporal/Instant/from/argument-wrong-type.js Outdated
Comment thread test/built-ins/Temporal/PlainDate/from/roundtrip-from-property-bag.js Outdated
Comment thread test/built-ins/Temporal/PlainDate/from/with-year-month-day-need-constrain.js Outdated
Comment thread test/built-ins/Temporal/PlainDateTime/from/roundtrip-from-property-bag.js Outdated
Comment thread test/built-ins/Temporal/ZonedDateTime/from/roundtrip-from-property-bag.js Outdated
@catamorphism catamorphism force-pushed the v8-staging-calendar-date-from-fields branch from 3eee230 to 5b07939 Compare January 14, 2026 00:05
Comment thread test/built-ins/Temporal/PlainDate/from/roundtrip-from-property-bag.js Outdated
Comment thread test/built-ins/Temporal/PlainDate/from/with-year-month-day-need-constrain.js Outdated
Comment thread test/built-ins/Temporal/PlainDate/from/with-year-monthCode-day-need-constrain.js Outdated
@Ms2ger Ms2ger force-pushed the v8-staging-calendar-date-from-fields branch from 70641ed to f67b11b Compare January 16, 2026 11:55
@Ms2ger Ms2ger enabled auto-merge (squash) January 16, 2026 11:56
@Ms2ger Ms2ger merged commit 47de75b into tc39:main Jan 16, 2026
14 checks passed
`${description} does not convert to a valid ISO string`
);

for (options of [undefined, { overflow: 'constrain' }, { overflow: 'reject' }]) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI - there are a handful of tests that are invalid when run in strict mode. i.e.:

'use strict';

for (options of [undefined, { overflow: 'constrain' }, { overflow: 'reject' }]) {
}

Will throw a ReferenceError for options. The declaration should probably be for (const options.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for flagging. I can review a PR to fix that quickly.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 I opened #4873. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants