test: Silence superfluous console output during test runs (#2540)
This commit is contained in:
committed by
dermotduffy
parent
921d45e577
commit
fcef48e75a
@@ -416,8 +416,6 @@ describe('MediaNotificationController', () => {
|
||||
assert(controls);
|
||||
expect(controls).toHaveLength(4);
|
||||
|
||||
vi.spyOn(console, 'warn').mockImplementation(() => {});
|
||||
|
||||
// 1. Review control
|
||||
expect(controls?.[0].tooltip).toBe('Mark as reviewed');
|
||||
expect(controls?.[0].dismiss).toBe(false);
|
||||
|
||||
Reference in New Issue
Block a user