All files / eslint-config-eloquence/src/rules plugin-jest-dom.js

0% Statements 0/1
100% Branches 0/0
100% Functions 0/0
0% Lines 0/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22                                           
'use strict'
 
/**
 * Plugin rules for writing effective test queries using the custom Jest DOM
 * matchers
 *
 * 📝 https://github.com/testing-library/jest-dom
 * 📝 https://github.com/testing-library/eslint-plugin-jest-dom
 */
module.exports = {
  'jest-dom/prefer-checked': 'error',
  'jest-dom/prefer-empty': 'error',
  'jest-dom/prefer-enabled-disabled': 'error',
  'jest-dom/prefer-focus': 'error',
  'jest-dom/prefer-in-document': 'error',
  'jest-dom/prefer-required': 'error',
  'jest-dom/prefer-to-have-attribute': 'error',
  'jest-dom/prefer-to-have-class': 'error',
  'jest-dom/prefer-to-have-style': 'error',
  'jest-dom/prefer-to-have-text-content': 'error',
}