How to make vitest fail fast after first known test failure

I am using Vitest for testing and would like it to fail fast upon first error. The reason is that I’m using it within git bisect and don’t need to waste time on the whole test run once there is an error.

I haven’t found an equivalent in Vitest. How can I configure Vitest or work around this to achieve similar functionality?