Skip to content

Commit

Permalink
Don't wrap CLI output in test
Browse files Browse the repository at this point in the history
  • Loading branch information
yhatt committed May 23, 2019
1 parent db71eee commit 3725750
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jest.setup.js
@@ -1,3 +1,5 @@
const { enterTestMode } = require('carlo')

enterTestMode()

jest.mock('wrap-ansi')
3 changes: 3 additions & 0 deletions test/__mocks__/wrap-ansi.ts
@@ -0,0 +1,3 @@
const wrapAnsi = jest.fn().mockImplementation(m => m) // No ops

export default wrapAnsi

0 comments on commit 3725750

Please sign in to comment.