# no-unknown-test-options πŸ“ Disallow unknown options in test and hook option objects. πŸ’ΌπŸš« This rule is enabled in the βœ… `recommended` [config](https://github.com/sindresorhus/eslint-node-test#preset-configs). This rule is _disabled_ in the β˜‘οΈ `unopinionated` [config](https://github.com/sindresorhus/eslint-node-test#preset-configs). `node:test` silently ignores unknown keys in a test or hook options object. A typo like `{skp: true}` therefore does nothing β€” the test runs normally instead of being skipped β€” and the mistake is easy to miss. This rule reports option keys that `node:test` does not recognize. Tests and suites accept `concurrency`, `expectFailure`, `only`, `plan`, `signal`, `skip`, `tags`, `timeout`, and `todo`; hooks accept `signal` and `timeout`. Computed and spread keys are skipped, since they cannot be checked statically. > [!NOTE] > The recognized keys track the `node:test` runner and may lag behind a newer Node.js version that adds an option. If you hit a false positive on a valid new option, open an issue. ## Examples ```js import test from 'node:test'; // ❌ test('title', {skp: true}, () => {}); // βœ… test('title', {skip: true}, () => {}); ```