Skip to content

Commit

Permalink
Update docs/packages/Rule_Tester.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
  • Loading branch information
NotWoods and JoshuaKGoldberg committed May 10, 2024
1 parent 97bee9b commit bc5b49e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/packages/Rule_Tester.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,9 @@ import * as test from 'node:test';
import { RuleTester } from '@typescript-eslint/rule-tester';

RuleTester.afterAll = test.afterAll;

RuleTester.describe = test.describe;
RuleTester.it = test.it;
RuleTester.itOnly = test.it.only;
RuleTester.describe = test.describe;
```

Tests can then be [run from the command line](https://nodejs.org/api/test.html#running-tests-from-the-command-line) like so:
Expand Down

0 comments on commit bc5b49e

Please sign in to comment.