Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
silesky committed Sep 22, 2023
1 parent e459718 commit ae8f719
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const mockFetchCdnSettings = (cdnSettings: any = {}) => {
.mockImplementation(createMockFetchImplementation(cdnSettings))
}

// TODO: delete this when remove these methods completely.
const ogConsoleWarn = console.warn
jest.spyOn(console, 'warn').mockImplementation((msg) => {
if (msg.includes('deprecate')) {
Expand Down

0 comments on commit ae8f719

Please sign in to comment.