test: Silence superfluous console output during test runs (#2540)

This commit is contained in:
Dermot Duffy authored and dermotduffy committed 2026-06-30 17:45:13 -07:00
1 parent 921d45e577
commit fcef48e75a
8 files changed
+23 -25

No files matched your search

@@ -285,7 +285,7 @@ describe('GalleryController', () => {
manager.getView.mockReturnValue(view);
const error = new Error('test error');
const spy = vi.spyOn(console, 'warn').mockImplementation(() => {});
const spy = vi.spyOn(console, 'warn');
runner.extend.mockRejectedValue(error);
await controller.extend(runner, epoch, 'earlier');