UI for Zipcoin Blue

zz-cleanup.js 430B

123456789101112131415161718192021
  1. // clean up the fixtures
  2. var tap = require("tap")
  3. , rimraf = require("rimraf")
  4. , test = tap.test
  5. , path = require("path")
  6. test("clean fixtures", function (t) {
  7. rimraf(path.resolve(__dirname, "fixtures"), function (er) {
  8. t.ifError(er, "rimraf ./fixtures/")
  9. t.end()
  10. })
  11. })
  12. test("clean tmp", function (t) {
  13. rimraf(path.resolve(__dirname, "tmp"), function (er) {
  14. t.ifError(er, "rimraf ./tmp/")
  15. t.end()
  16. })
  17. })