Skip to content

Commit

Permalink
test: update jest run mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ernscht committed Jan 8, 2024
1 parent 4420f31 commit da896c9
Show file tree
Hide file tree
Showing 4 changed files with 671 additions and 7 deletions.
6 changes: 5 additions & 1 deletion codequality/stylelint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
},
"devDependencies": {
"jest": "29.7.0",
"jest-light-runner": "0.6.0",
"stylelint": "15.11.0"
},
"dependencies": {
Expand All @@ -31,5 +32,8 @@
"prepublishOnly": "npm test",
"test": "jest",
"watch-test": "jest --watchAll"
}
},
"jest": {
"runner": "jest-light-runner"
}
}
3 changes: 0 additions & 3 deletions codequality/stylelint/tests/invalid.test.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
const stylelint = require('stylelint');
const config = require('../');

// needs bigger timeout
jest.setTimeout(10000);

describe('flags errors with invalid css', () => {
const files = 'tests/invalid/examples.scss';
let result;
Expand Down
3 changes: 0 additions & 3 deletions codequality/stylelint/tests/valid.test.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
const stylelint = require('stylelint');
const config = require('../');

// needs bigger timeout
jest.setTimeout(10000);

describe('flags no errors with valid css', () => {
const files = 'tests/valid/*.scss';
let result;
Expand Down
Loading

0 comments on commit da896c9

Please sign in to comment.