summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/rimraf/test/test-fiber.js
blob: 20d61a1099a6249c452da00c1a356f03bb9a2790 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
var rimraf
  , path = require("path")

try {
  rimraf = require("../fiber")
} catch (er) {
  console.error("skipping fiber test")
}

if (rimraf) {
  Fiber(function () {
    rimraf(path.join(__dirname, "target")).wait()
  }).run()
}