Browse Source

ncp was return an array of errors, now it returns an error. Closes #58

ci/travis-osximage
JP Richardson 11 years ago
parent
commit
23050cec1d
  1. 9
      test/copy.test.js

9
test/copy.test.js

@ -167,6 +167,15 @@ describe('fs-extra', function() {
})
})
})
describe('> when src dir does not exist', function() {
it('should return an error', function(done) {
fs.copy('/does/not/exist', '/something/else', function(err) {
T (err instanceof Error)
done()
});
})
})
})
describe.skip('> REGRESSIONS', function() {

Loading…
Cancel
Save