refactor: throw error only in warnings
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Jon Elias 2025-04-01 08:57:45 +02:00
parent b0d6a7507a
commit 992b64e6e3
1 changed files with 0 additions and 4 deletions

View File

@ -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(() => {