Skip to content
This repository has been archived by the owner on Feb 7, 2020. It is now read-only.

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
UnleashedMind committed Mar 17, 2018
1 parent 5c20d69 commit 2cc18ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions __tests__/lib/init-steps/s61-on-failure.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ describe('s61 on failure', () => {
beforeAll(() => {
global.console = {log: jest.fn()}
process.cwd = jest.fn(()=>{ return projectPath })
process.exit = jest.fn((code)=>{return code})
fs.__setMockFiles(MOCK_FILE_INFO)

dfOps.readJsonFile = jest.fn((path)=>{
Expand Down

0 comments on commit 2cc18ad

Please sign in to comment.