Skip to content

Commit 51bded7

Browse files
crisbetojosephperrott
authored andcommitted
chore: gesture config test logging out warnings (#12207)
1 parent 1540e2f commit 51bded7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib/core/gestures/gesture-config.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ describe('GestureConfig', () => {
4949
const hammerGlobal = (window as any).Hammer;
5050
(window as any).Hammer = undefined;
5151

52+
// Stub out `console.warn` so the warnings don't pollute our logs.
53+
spyOn(console, 'warn');
54+
5255
TestBed
5356
.resetTestingModule()
5457
.configureTestingModule({

0 commit comments

Comments
 (0)