Skip to content

Commit 133260a

Browse files
committed
test: migrate tests to uvu
1 parent 05185d6 commit 133260a

File tree

4 files changed

+320
-1961
lines changed

4 files changed

+320
-1961
lines changed

package.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"build": "rimraf dist && babel src --out-dir dist --ignore src/__tests__/**/*.js && jison src/parser.jison -o dist/parser.js",
2020
"lint": "eslint src",
2121
"pretest": "pnpm run build",
22-
"test": "ava"
22+
"test": "uvu -r @babel/register src/__tests__"
2323
},
2424
"author": "Andy Jansson",
2525
"license": "MIT",
@@ -34,26 +34,23 @@
3434
}
3535
},
3636
"devDependencies": {
37-
"@ava/babel": "^2.0.0",
3837
"@babel/cli": "^7.16.0",
3938
"@babel/core": "^7.16.5",
4039
"@babel/plugin-transform-modules-commonjs": "^7.16.5",
41-
"ava": "^3.15.0",
40+
"@babel/register": "^7.16.7",
4241
"babel-plugin-add-module-exports": "^1.0.0",
4342
"eslint": "^8.5.0",
4443
"eslint-plugin-import": "^2.25.3",
4544
"jison-gho": "^0.6.1-216",
4645
"postcss": "^8.2.2",
47-
"rimraf": "^3.0.2"
46+
"rimraf": "^3.0.2",
47+
"uvu": "^0.5.2"
4848
},
4949
"dependencies": {
5050
"postcss-selector-parser": "^6.0.2",
5151
"postcss-value-parser": "^4.0.2"
5252
},
5353
"peerDependencies": {
5454
"postcss": "^8.2.2"
55-
},
56-
"ava": {
57-
"babel": true
5855
}
5956
}

0 commit comments

Comments
 (0)