Skip to content

Commit

Permalink
refactor: disable logger in tests (#155)
Browse files Browse the repository at this point in the history
* refactor: disable logger in tests

* fix: review fixes

* fix: implement review suggestion
  • Loading branch information
Esemesek authored and grabbou committed Feb 6, 2019
1 parent 6d1be39 commit 5fa631d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/cli/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
setupFiles: ['./testSetup.js'],
testEnvironment: 'node',
};
2 changes: 2 additions & 0 deletions packages/cli/testSetup.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @flow
jest.mock('./src/util/logger');

0 comments on commit 5fa631d

Please sign in to comment.