Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to Temporal tests #3819

Merged
merged 4 commits into from
Apr 24, 2023
Merged

Conversation

ptomato
Copy link
Contributor

@ptomato ptomato commented Apr 22, 2023

I had been using slice() here to cut down the list of operations to
compare during debugging, but accidentally left it in.
Add order-of-operations tests for:

- Temporal.ZonedDateTime.p.getISOFields()
- Temporal.ZonedDateTime.p.round()
- years with ZonedDateTime relativeTo in Temporal.Duration.p.round()
- years with ZonedDateTime relativeTo in Temporal.Duration.p.total()
- property Gets on receiver in Temporal.PlainDateTime.p.with()
- ZonedDateTime difference methods with largestUnit being a time unit
- Duration.compare with no units higher than hours
These should be formatted in the same way that they'd be entered in source
code.
@ptomato ptomato requested a review from a team as a code owner April 22, 2023 00:11
@Ms2ger Ms2ger merged commit 63e0986 into tc39:main Apr 24, 2023
@ptomato ptomato deleted the temporal-refinements branch April 24, 2023 16:20
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.

2 participants