|
@@ -38,7 +38,7 @@ describe('#227 IOS file modification date correctness', (report, done) => {
|
38
|
38
|
fs.createFile(path, 'datafornow')
|
39
|
39
|
.then(() => fs.stat(path))
|
40
|
40
|
.then((stat) => {
|
41
|
|
- let date = Math.floor(stat.lastModified);
|
|
41
|
+ let date = stat.lastModified;
|
42
|
42
|
console.log(date, stat);
|
43
|
43
|
let correct = date/Date.now() > 0.95 || date/Date.now() < 1.05;
|
44
|
44
|
report(<Assert key="modification date should be correct"
|