We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9b0a36 commit ee05411Copy full SHA for ee05411
test/parallel/test-fs-utimes.js
@@ -188,9 +188,7 @@ fs.writeFileSync(path, '');
188
189
// test Y2K38 for all platforms [except 'arm', 'OpenBSD' and 'SunOS']
190
if (!process.arch.includes('arm') && !common.isOpenBSD && !common.isSunOS) {
191
- // because 2 ** 31 doesn't look right
192
- // eslint-disable-next-line space-infix-ops
193
- const Y2K38_mtime = 2**31;
+ const Y2K38_mtime = 2 ** 31;
194
fs.utimesSync(path, Y2K38_mtime, Y2K38_mtime);
195
const Y2K38_stats = fs.statSync(path);
196
assert.strictEqual(Y2K38_mtime, Y2K38_stats.mtime.getTime() / 1000);
0 commit comments