Skip to content

Commit

Permalink
adjust tests for node14
Browse files Browse the repository at this point in the history
  • Loading branch information
arshaw committed Jan 4, 2024
1 parent 2f9bf9b commit 79f4284
Showing 1 changed file with 3 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,9 @@ intl402/Temporal/PlainDateTime/prototype/toLocaleString/options-conflict.js
intl402/Temporal/PlainTime/prototype/toLocaleString/options-conflict.js
intl402/Temporal/ZonedDateTime/prototype/toLocaleString/options-conflict.js

# Before Node 16, calling an uncallable value seems to throw a RangeError, not a TypeError
intl402/Temporal/PlainYearMonth/prototype/toLocaleString/timezone-getoffsetnanosecondsfor-not-callable.js
intl402/Temporal/PlainMonthDay/prototype/toLocaleString/timezone-getoffsetnanosecondsfor-not-callable.js
intl402/DateTimeFormat/prototype/format/temporal-objects-timezone-getoffsetnanosecondsfor-not-callable.js
intl402/DateTimeFormat/prototype/formatRange/temporal-objects-timezone-getoffsetnanosecondsfor-not-callable.js
intl402/DateTimeFormat/prototype/formatRangeToParts/temporal-objects-timezone-getoffsetnanosecondsfor-not-callable.js
intl402/DateTimeFormat/prototype/formatToParts/temporal-objects-timezone-getoffsetnanosecondsfor-not-callable.js

# For some reason, these tests (which are identical to the ones above) do pass.
# TODO(issue 213): check if this could be because of a bug.
# intl402/Temporal/PlainDate/prototype/toLocaleString/timezone-getoffsetnanosecondsfor-not-callable.js
# intl402/Temporal/PlainDateTime/prototype/toLocaleString/timezone-getoffsetnanosecondsfor-not-callable.js
# intl402/Temporal/PlainTime/prototype/toLocaleString/timezone-getoffsetnanosecondsfor-not-callable.js

# Not sure why these tests fail in Node 14, but it's EOL so not worth investigating.
built-ins/Temporal/PlainYearMonth/prototype/toLocaleString/builtin-calendar-no-observable-calls.js
built-ins/Temporal/PlainMonthDay/prototype/toLocaleString/builtin-calendar-no-observable-calls.js

# "Before R.O.C." not normalized to "B.R.O.C."
staging/Intl402/Temporal/old/non-iso-calendars.js

0 comments on commit 79f4284

Please sign in to comment.