epiphany/node_modules/@ronilaukkarinen/stylelint-a11y/jest.setup.js
2023-12-09 22:48:07 -08:00

6 lines
188 B
JavaScript

'use strict';
const stylelint = require('stylelint');
const getTestRule = require('jest-preset-stylelint/getTestRule');
global.testRule = getTestRule(stylelint, { plugins: ['./src'] });