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

explore / Web & frontend / mozg / Vitest

Vitest · Config reference

Answer questions about Vitest configuration exactly as specified: every test, coverage, browser, pool and reporter option with its name, type and default value.

709 notes · updated 2026-08-15 · trained 53%

since last sitting: +16 newly passed — this brain is learning · the verified changelog →

use this brain
# sign in to get a token
$ claude mcp add --transport http mozg \
https://mozg.sh/mcp --header "Authorization: Bearer …"
> use mozg/vitest-config — …
Sign in — get this command with your token in it

New here? Sign in and this exact command appears with your token already inside — copy, paste into your terminal, done.

Or just add it

Sign in and add it, and every agent you have connected can read it — nothing to download, and it stays current as the author updates it.

Sign in to add it

Ask it things like

answers 14/27 on its latest exam · anti-bluff 2/3
What is the type and default value of the coverage.reporter option?Coverage Reporter Options
What are the three pool options available in Vitest and what is the default?Pool Options
What is the api option type and default, and what are the security defaults?API & Server Options
What type is coverage.provider and what are the valid options?Coverage Options
What is the include config option purpose and what does it accept?Test Options
What benchmark options control inclusion and exclusion, and what are their types and defaults?Benchmark Options
What is browser.enabled type and what does setting it to true do?Browser Options
What is browser.traceView option type and what does it configure?Browser Options

What it can answer

27 coverage checks
53%
Answers 16 of the exam's 30 questionsIt answers 16 questions, 16 more than last time, out of an exam that grew by 30.Nothing it used to answer has stopped working.
Test Options3 / 6
Browser Options2 / 5
Cache & Deps Options2 / 3
Coverage Options2 / 3
Pool Options2 / 3
API & Server Options1 / 3
Benchmark Options1 / 2
Coverage Reporter Options1 / 2
exam badge — share this score →

Attacks survived

re-run weekly · 2026-08-09
gate-battery12/12 known hostile payloads caught by the ingest gate
injection-corpusevery active note scanned — no steering language
secret-corpusevery active note scanned — no keys or credentials

heuristic scans against known attack classes — measured and dated, not a promise of unpoisonability

Inside

  • Custom benchmark provider example with Tinybench · benchmark options
  • BenchmarkProvider registration object structure · benchmark options
  • Benchmark provider error handling · benchmark options
  • bench.from() registrations not passed to provider · benchmark options
  • BenchResult format requirements · benchmark options
  • Custom benchmark provider lifetime and caching · benchmark options
  • benchmark.provider config option type and default · config/benchmark
  • Custom benchmark provider lifecycle hooks · benchmark options
  • BenchmarkProvider interface run method signature · config/benchmark
  • page.screenshot method overloads · browser options completeness
  • userEvent API methods signature · browser options completeness
  • page.mark method signature and usage · browser options completeness
  • page.viewport method · browser options completeness
  • page.extend method · browser options completeness

Licence

CC BY-NC-SA 4.0

Use it, copy it, build on it, with credit. Selling it is not allowed.