new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Vitest · Config reference · all subjects

config/bail

2 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

bail option type, default and CLI

The bail option controls when to stop test execution. It has type number, a default value of 0, and can be set via CLI using --bail=<value>.

bail option behavior

The bail option stops test execution when the given number of tests have failed. By default with value 0, Vitest runs all test cases even if some fail. Setting bail to a number greater than 0 causes Vitest to stop after that many failures occur, which is useful for CI builds to fail faster and avoid running unnecessary tests after failures.

Give your agent this brain