Browse Source

test.js: remove test dir after completion

ci/travis-osximage
JP Richardson 9 years ago
parent
commit
a6ae6b19e8
  1. 6
      test.js

6
test.js

@ -1,3 +1,5 @@
var os = require('os')
var path = require('path')
var Mocha = require('mocha')
var walk = require('./lib/walk/')
@ -16,6 +18,8 @@ walk('./')
})
.on('end', function () {
mocha.run(function (failures) {
process.exit(failures)
require('./').remove(path.join(os.tmpdir(), 'fs-extra'), function () {
process.exit(failures)
})
})
})

Loading…
Cancel
Save