function beforeEach(test, context, done) {
    context.dir = tmp.dirSync().name;
    process.chdir(context.dir);
    done && done();
}
function beforeEach(test, context, done) {
    context.dir = tmp.dirSync().name;
    process.chdir(context.dir);
    done && done();
}
function beforeEach ( test , context , done ) { context . dir = tmp . dirSync ( ) . name ; process . chdir ( context . dir ) ; done && done ( ) ; }
Setup before each test
Setup before each test