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
Having been running tests on various platforms, and noticed some commonality with the test suite in node-time failing on 32bit versions of node, whilst passing on the 64bit versions.
If I run the test suit via npm test on 32bit, we see the error -
1) exports localtime() should not segfault on a NaN Date value:
AssertionError: { invalid: true } deepEqual { seconds: 0,
minutes: 0,
hours: 0,
dayOfMonth: 1,
month: 0,
year: 70,
dayOfWeek: 4,
dayOfYear: 0,
isDay
+ expected - actual
{
- "invalid": true
+ "dayOfMonth": 1
+ "dayOfWeek": 4
+ "dayOfYear": 0
+ "gmtOffset": 0
+ "hours": 0
+ "isDaylightSavings": false
+ "minutes": 0
+ "month": 0
+ "seconds": 0
+ "timezone": "UTC"
+ "year": 70
}
at Context.<anonymous> (test/exports.js:49:14)
Is this expected to pass on 32bit node ?
The text was updated successfully, but these errors were encountered:
Having been running tests on various platforms, and noticed some commonality with the test suite in node-time failing on 32bit versions of node, whilst passing on the 64bit versions.
If I run the test suit via npm test on 32bit, we see the error -
Is this expected to pass on 32bit node ?
The text was updated successfully, but these errors were encountered: