~ubuntu-branches/ubuntu/utopic/node-tar/utopic

« back to all changes in this revision

Viewing changes to test/zz-cleanup.js

  • Committer: Package Import Robot
  • Author(s): Jérémy Lal
  • Date: 2012-03-17 23:37:48 UTC
  • Revision ID: package-import@ubuntu.com-20120317233748-7c12so2ivmg2ufm8
Tags: upstream-0.1.13
Import upstream version 0.1.13

Show diffs side-by-side

added added

removed removed

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