openreachtech / eslint-rules-default-jest

A showcasing package all the Jest plugin rules of ESLint.
MIT License
0 stars 0 forks source link

🐛 Fix `jest/valid-title` rule #15

Closed StewEucen closed 3 months ago

StewEucen commented 3 months ago

Overview

Note

{
  rules: {
      'jest/valid-title': [
        'error',
        {
          ignoreTypeOfDescribeName: false,
          disallowedWords: [],
          // mustMatch: {
          //   describe: [],
          //   it: [],
          //   test: [],
          // },
          // mustNotMatch: {
          //   describe: [],
          //   it: [],
          //   test: [],
          // },
        },
      ],
  },
}
{
  rules: {
      'jest/valid-title': [
        'error',
        {
          ignoreTypeOfDescribeName: false,
          disallowedWords: [],
          mustMatch: {},
          mustNotMatch: {},
        },
      ],
  },
}