1 |
|
2 | mecano = if process.env.MECANO_COV then require '../lib-cov/mecano' else require '../lib/mecano'
|
3 |
|
4 | scratch = "#{__dirname}/../resources/scratch"
|
5 |
|
6 | module.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 |
|