node/deps/npm/node_modules/cmd-shim/test/zz-cleanup.js

14 lines
290 B
JavaScript
Raw Normal View History

2013-04-04 01:17:04 +08:00
var test = require('tap').test
var path = require('path')
var fixtures = path.resolve(__dirname, 'fixtures')
var rimraf = require('rimraf')
test('cleanup', function(t) {
rimraf(fixtures, function(er) {
if (er)
throw er
t.pass('cleaned up')
t.end()
})
})