diff --git a/test/vitest/setup-file.js b/test/vitest/setup-file.js index 1d5165397..4e494552f 100644 --- a/test/vitest/setup-file.js +++ b/test/vitest/setup-file.js @@ -5,10 +5,6 @@ beforeEach(() => { vi.spyOn(console, 'warn').mockImplementation((message) => { throw new Error(`Test failed due to console.warn: ${message}`); }); - - vi.spyOn(console, 'error').mockImplementation((message) => { - throw new Error(`Test failed due to console.error: ${message}`); - }); }); afterEach(() => {