Browse Source

lib/copy/__tests__/copy-sync: output millisecond resolution in tests (TEMPORARY)

ci/travis-osximage
JP Richardson 9 years ago
parent
commit
c83ca2df8b
  1. 2
      lib/copy/__tests__/copy-sync.test.js

2
lib/copy/__tests__/copy-sync.test.js

@ -321,6 +321,8 @@ describe('+ copySync()', function () {
it('should have the same timestamps on copy', function (done) {
var from = path.join(SRC_FIXTURES_DIR)
console.log(require('../../util/utimes').HAS_MILLIS_RES)
console.log(require('../../util/utimes').hasMillisRes())
fs.copySync(from, TEST_DIR, {preserveTimestamps: true})
FILES.forEach(testFile({preserveTimestamps: true}))

Loading…
Cancel
Save