Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Closed
Description
We should use a snapshot system to test rules with each rule having arule-name.ts
fixture that is run through ESLint. Config can be provided by inline/* eslint */
comments, and any reported errors would be dumped to either a Jest snapshot or anerrors.json
file. We could either switch the test framework from Mocha to Jest or just import Jest’sexpect
function to get access to thetoMatchSnapshot
matcher.