Guides & FixesFix Vitest 5 toThrow('') Silently Passing TestsVitest 5 changes toThrow('') to match any thrown error, not just an empty message. Fix the silent false-pass with toThrow(/^$/) or toThrow().Aug 13, 2026Read more →