Skip to content

Commit

Permalink
disable logging in tests
Browse files Browse the repository at this point in the history
-
Ticket: SUITEDEV-24431
  • Loading branch information
hawser86 committed Jan 22, 2021
1 parent d27fe6a commit af444c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test-helpers/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import Vue from 'vue';
import { KubeConfig } from '@kubernetes/client-node';
import log from 'electron-log';

Vue.config.devtools = false;
Vue.config.productionTip = false;
Vue.config.ignoredElements = [/^e-/];

log.transports.file.level = false;
log.transports.console.level = false;

beforeEach(() => {
sinon.stub(KubeConfig.prototype, 'getContexts');
sinon.stub(KubeConfig.prototype, 'getCurrentContext');
Expand Down

0 comments on commit af444c8

Please sign in to comment.