node/deps/npm/node_modules/npm-registry-client/test/zz-cleanup.js

11 lines
218 B
JavaScript
Raw Normal View History

2014-08-01 00:05:30 +08:00
var tap = require("tap")
var rimraf = require("rimraf")
2012-07-14 02:40:38 +08:00
2014-08-01 00:05:30 +08:00
tap.test("teardown", function (t) {
rimraf(__dirname + "/fixtures/cache", function (er) {
2012-07-14 02:40:38 +08:00
if (er) throw er
2014-08-01 00:05:30 +08:00
t.pass("cache cleaned")
2012-07-14 02:40:38 +08:00
t.end()
})
})