UNPKG

329 Btext/coffeescriptView Raw
1
2mecano = if process.env.MECANO_COV then require '../lib-cov/mecano' else require '../lib/mecano'
3
4scratch = "#{__dirname}/../resources/scratch"
5
6module.exports =
7 scratch: (context) ->
8 context.beforeEach (next) ->
9 mecano.mkdir scratch, next
10 context.afterEach (next) ->
11 mecano.rm scratch, next
12 scratch
13