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

Temporal: Adjust tests for removal of options parameter from Temporal.Duration.p.add/subtract #4081

Merged
merged 2 commits into from
Jun 13, 2024

Commits on Jun 13, 2024

  1. Temporal: Remove tests using relativeTo in Duration.p.add/subtract

    See tc39/proposal-temporal#2825. This is a mass removal of tests that use
    this functionality, in a separate commit for ease of review. Further
    adjustments will be made in the following commit.
    ptomato committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    8bde820 View commit details
    Browse the repository at this point in the history
  2. Temporal: Tests for removal of relativeTo from Duration.p.add/subtract

    See tc39/proposal-temporal#2825.
    
    Various edits to existing tests so that they make more sense with the
    removal of relativeTo.
    
    New tests specifically testing that calendar units cannot be added or
    subtracted directly.
    ptomato committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    c5d366c View commit details
    Browse the repository at this point in the history