Skip to content

Commit 4fd78fa

Browse files
committed
Replace Jest to uvu
1 parent dfafe17 commit 4fd78fa

File tree

5 files changed

+196
-2257
lines changed

5 files changed

+196
-2257
lines changed

package.json

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"license": "MIT",
1616
"repository": "postcss/postcss-js",
1717
"scripts": {
18-
"unit": "jest",
19-
"test": "jest --coverage && eslint ."
18+
"unit": "uvu test \"\\.test\\.js$\"",
19+
"test": "c8 pnpm unit && eslint ."
2020
},
2121
"engines": {
2222
"node": ">=10.0"
@@ -42,26 +42,28 @@
4242
},
4343
"devDependencies": {
4444
"@logux/eslint-config": "^46.1.1",
45+
"c8": "^7.11.0",
4546
"clean-publish": "^3.4.4",
4647
"eslint": "^8.6.0",
4748
"eslint-config-standard": "^16.0.3",
48-
"eslint-plugin-import": "^2.25.3",
49+
"eslint-plugin-import": "^2.25.4",
4950
"eslint-plugin-node": "^11.1.0",
5051
"eslint-plugin-prefer-let": "^3.0.1",
5152
"eslint-plugin-promise": "^6.0.0",
52-
"jest": "^27.4.6"
53+
"uvu": "^0.5.3"
54+
},
55+
"prettier": {
56+
"arrowParens": "avoid",
57+
"jsxSingleQuote": false,
58+
"quoteProps": "consistent",
59+
"semi": false,
60+
"singleQuote": true,
61+
"trailingComma": "none"
5362
},
5463
"eslintConfig": {
5564
"extends": "@logux/eslint-config",
5665
"rules": {
5766
"no-console": "off"
58-
},
59-
"globals": {
60-
"beforeEach": "readonly",
61-
"beforeAll": "readonly",
62-
"afterAll": "readonly",
63-
"it": "readonly",
64-
"expect": "readonly"
6567
}
6668
},
6769
"jest": {

0 commit comments

Comments
 (0)