> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# focused-test-committed

> A committed .only, only: true, fit or fdescribe can make the test runner skip other tests.

## What it flags

`.only` on `describe`, `it`, `test` or `suite` (including chained and computed forms), an effective `only: true` in the options of a runner imported or required from `node:test` or imported from Vitest, and Jasmine `fit` and `fdescribe`, in a test file. These forms can make CI pass without running the whole suite. Fixtures, docs, examples and vendored code are skipped.

The rule also recognizes a focused Vitest `bench.only` in a test or `.bench` file and Mocha `context.only` in tests, including aliases whose bindings come from the corresponding runner package.

## How to review or fix

Loadwise can remove a direct `.only` modifier from a Node or Vitest test or suite registration when the runner binding and its uses in the same file support the edit. Review the call manually when the file mutates the runner, passes it to other code, stores it in a mutable binding or object, or supplies options that could still focus the registration. If a setup module or external mock replaces the runner, review the affected registrations manually.

## Configuration

Set the rule to `"off"` in `loadwise.config.json` to drop its findings:

```json theme={null}
{
  "rules": { "focused-test-committed": "off" }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.