Skip to content

Commit

Permalink
test: supress console.warn from tests logs (#1319)
Browse files Browse the repository at this point in the history
  • Loading branch information
Torres-ssf authored Oct 6, 2023
1 parent 937ddec commit 36b5284
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .changeset/great-cherries-do.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 1 addition & 1 deletion packages/providers/test/provider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ describe('Provider', () => {
const spy = jest.spyOn(fuelTsVersionsMod, 'checkFuelCoreVersionCompatibility');
spy.mockImplementation(() => mock);

const warnSpy = jest.spyOn(global.console, 'warn');
const warnSpy = jest.spyOn(global.console, 'warn').mockImplementation(() => {});
await Provider.create(FUEL_NETWORK_URL);

expect(warnSpy).toHaveBeenCalledWith(
Expand Down

0 comments on commit 36b5284

Please sign in to comment.