# test-title πŸ“ Require tests to have a title. πŸ’ΌπŸš« 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). πŸ”§ This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix). Tests must have a descriptive string title. A missing title makes test output harder to read and diagnose. The title must be a non-empty string without leading or trailing whitespace. Leading/trailing whitespace is auto-fixable. ## Examples ```js import test from 'node:test'; // ❌ Missing title test(() => {}); // ❌ Non-string title test(123, () => {}); // ❌ Empty title test('', () => {}); // ❌ Leading/trailing whitespace (auto-fixable) test(' my test ', () => {}); // βœ… test('my test', () => {}); test('another test', async t => { await t.test('nested', () => {}); }); ```