Skip to content

Commit

Permalink
Regenerate package-lock.json (#4517)
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored and hudochenkov committed Jan 9, 2020
1 parent 36bf292 commit 1dc203e
Show file tree
Hide file tree
Showing 3 changed files with 1,867 additions and 1,759 deletions.
4 changes: 3 additions & 1 deletion jest-setup.js
Expand Up @@ -7,6 +7,7 @@ const util = require('util');
jest.mock('./lib/utils/getOsEol', () => () => '\n');

global.testRule = (rule, schema) => {
// eslint-disable-next-line jest/valid-describe
describe(`${schema.ruleName}`, () => {
const stylelintConfig = {
rules: {
Expand Down Expand Up @@ -137,7 +138,7 @@ global.testRule = (rule, schema) => {

function setupTestCases({ name, cases, schema, comparisons }) {
if (cases && cases.length) {
// eslint-disable-next-line jest/valid-describe
/* eslint-disable jest/valid-describe */
describe(name, () => {
cases.forEach((testCase) => {
const spec = testCase.only ? it.only : it;
Expand All @@ -149,6 +150,7 @@ function setupTestCases({ name, cases, schema, comparisons }) {
});
});
});
/* eslint-enable jest/valid-describe */
}
}

Expand Down

0 comments on commit 1dc203e

Please sign in to comment.