Skip to content

Commit

Permalink
Mock baseLogger for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
beerose committed Dec 1, 2021
1 parent f0fcad0 commit 730b0aa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/generator/test/generators/app-generator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ jest.mock(
}),
warning: jest.fn(),
},
baseLogger: jest.fn().mockImplementation(() => {
return {
warn: jest.fn(),
}
}),
}
}),
)
Expand Down

0 comments on commit 730b0aa

Please sign in to comment.