Skip to content

Commit

Permalink
chore(require-tothrow-message): fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisblossom committed Jul 18, 2019
1 parent e48fade commit d10279e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/__tests__/rules.test.js
Expand Up @@ -8,6 +8,11 @@ const numberOfRules = 35;
describe('rules', () => {
it('should have a corresponding doc for each rule', () => {
ruleNames.forEach(rule => {
// require-tothrow-message has been renamed to require-to-throw-message
if (rule === 'require-tothrow-message') {
return;
}

const docPath = resolve(__dirname, '../../docs/rules', `${rule}.md`);

if (!existsSync(docPath)) {
Expand Down

0 comments on commit d10279e

Please sign in to comment.