Closed imurchie closed 6 years ago
After mock-fs does its magic calling code ends up with Stats objects like
mock-fs
Stats
Stats { dev: undefined, mode: undefined, nlink: undefined, uid: undefined, gid: undefined, rdev: undefined, blksize: undefined, ino: undefined, size: undefined, blocks: undefined, atimeMs: undefined, mtimeMs: undefined, ctimeMs: undefined, birthtimeMs: undefined, atime: Invalid Date, mtime: Invalid Date, ctime: Invalid Date, birthtime: Invalid Date }
To reproduce: npm run test.
npm run test
+1
When are we getting a fix for this?
Thanks for the report @imurchie. I've put together a fix in #237.
Amazing! Thank you @tschaub!
After
mock-fs
does its magic calling code ends up withStats
objects likeTo reproduce:
npm run test
.