test.after.always(async () => { await testUtil.rmDirs(controlApp, shrinkpackApp); await testUtil.unlinkShrinkpack(projectRoot); await testUtil.setNpmVersion(startingNpmVersion); });
test.after(t => { nock.isDone(); nock.cleanAll(); nock.enableNetConnect(); });
test.after(t => { scope.done(); nock.isDone(); nock.cleanAll(); nock.enableNetConnect(); });
test.after.cb(function (t) { var datastore = transaction.datastore; var query = datastore.createQuery('Task'); testUtil.deleteEntities(datastore, query, t.end); });
test.after.always(async () => { const pubsub = PubSub(); const topic = pubsub.topic(topicName); return topic.delete() .then(() => { console.log(`Topic ${topic.name} deleted.`); }); });
test.after.always(async function () { await deletefolder(AVAILABLE) .then(deletefolder(ENABLED)) .then(deleteUserSiteFile(userSiteTemplateObj.path)) })
test.after.always('cleanup', () => { return Promise.all([ rimraf('test/tempCompDir'), ]); });
test.after(t => { nock.isDone(); nock.cleanAll(); nock.enableNetConnect(); });
test.after(t => { nock.isDone(); nock.cleanAll(); nock.enableNetConnect(); });
test.after(t => { nock.isDone(); nock.cleanAll(); nock.enableNetConnect(); });
test.after(t => { nock.isDone(); nock.cleanAll(); nock.enableNetConnect(); });
test.after.always(async () => { const pubsub = PubSub(); const topic = pubsub.topic(topicName); return topic.delete() .then(() => { console.log(`Topic ${topic.name} deleted.`); }); });
test.after(t => { scope.done(); nock.isDone(); nock.cleanAll(); nock.enableNetConnect(); });
test.after(t => { nock.isDone(); nock.cleanAll(); nock.enableNetConnect(); });
test.after.always(async () => { const pubsub = PubSub(); const topic = pubsub.topic(topicName); return topic.delete() .then(() => { console.log(`Topic ${topic.name} deleted.`); }); });