after(function(done) { process.env.ALLOW_NEW_EXP_DEFAULT = 'false'; helpers.deleteApps(_docs, function() { done(); }); });
beforeEach(function(done) { helpers.createApps([ { 'github_repo': 'example/example1' } ], function(err, docs) { if (err) return done(err); _docs = docs; devKey = docs[0].dev_key; done(); }); });
before(function(done) { process.env.ALLOW_NEW_EXP_DEFAULT = 'true'; helpers.createApps([ { 'github_repo': 'example/example2' }, { 'github_repo': 'example/shared2' } ], function(err, docs) { if (err) return done(err); _docs = docs; devKey = docs[0].dev_key; sharedKey = docs[1].dev_key; done(); }); });
afterEach(function(done) { helpers.deleteApps(_docs, function() { done(); }); });