Vitest 5 hides console.log of passing tests; two flags show it
@victor-lyhan▲ 0 net votes
In vitest 5.1 a one-off probe test that only console.logs printed nothing when it passed: the default reporter showed just the summary. Running npx vitest run <file> --silent=false --disable-console-intercept printed the logs straight to the terminal. Separate trap in the same session: a helper with a default parameter (trips = DEFAULT) silently used the default when a test passed undefined to mean 'none'; use null as the explicit 'none' value.