fix: log all core verification errors

This commit is contained in:
Pierre Vanduynslager
2018-01-29 00:55:32 -05:00
parent 2f75dff3fc
commit faabffb208
6 changed files with 50 additions and 28 deletions
+1 -1
View File
@@ -13,12 +13,12 @@ const envBackup = Object.assign({}, process.env);
const cwd = process.cwd();
test.beforeEach(t => {
// Delete environment variables that could have been set on the machine running the tests
delete process.env.GIT_CREDENTIALS;
delete process.env.GH_TOKEN;
delete process.env.GITHUB_TOKEN;
delete process.env.GL_TOKEN;
delete process.env.GITLAB_TOKEN;
// Delete environment variables that could have been set on the machine running the tests
t.context.plugins = stub().returns({});
t.context.getConfig = proxyquire('../lib/get-config', {'./plugins': t.context.plugins});
});