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

Commit

Permalink
Merge pull request #80 from UnleashedMind/master
Browse files Browse the repository at this point in the history
fix unit test
  • Loading branch information
UnleashedMind authored Mar 17, 2018
2 parents 3333287 + 2cc18ad commit 7db766d
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 7db766d

Please sign in to comment.