You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While debugging CI failures in #210 , it seems that only some of the test262 cases for toLocaleString/timezone-getoffsetnanosecondsfor-not-callable.js fail, and some pass:
It may be that Node 14 didn't support the calendar option, so it's failing with a RangeError before the uncallable thing is called?
So it's not like these tests run without exceptions in any case. It's only that the ones with a calendar option fail in an unexpected way (RangeError) on Node 14, while the ones without a calendar option fail in an expected way (TypeError).
Anyway, I think it's OK to just put the failing tests into the expected-failures-before-node16.txt and leave the passing tests (the ones that fail with the expected TypeError) out of that file.
While debugging CI failures in #210 , it seems that only some of the test262 cases for
toLocaleString/timezone-getoffsetnanosecondsfor-not-callable.js
fail, and some pass:Passing:
PlainTime
PlainDate
PlainDateTime
Failing:
PlainYearMonth
PlainMonthDay
DateTimeFormat/prototype/format
DateTimeFormat/prototype/formatToParts
DateTimeFormat/prototype/formatRange
DateTimeFormat/prototype/formatRangeToParts
I haven't looked at all the testcases but given they are likely all very similarly structured I'm wondering this is indicative of a bug somewhere?
Failing that, it would be nice to improve the documentation to explain why those tests fail on Node<16 more clearly.
The text was updated successfully, but these errors were encountered: