Skip to content

Commit ab4dc20

Browse files
committed
Use Node test runner
1 parent 03e68f1 commit ab4dc20

File tree

3 files changed

+109
-134
lines changed

3 files changed

+109
-134
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ jobs:
1717
strategy:
1818
matrix:
1919
node:
20-
- lts/fermium
20+
- lts/hydrogen
2121
- node

package.json

+13-3
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,14 @@
3939
"@types/hast": "^2.0.0"
4040
},
4141
"devDependencies": {
42-
"@types/tape": "^4.0.0",
42+
"@types/node": "^18.0.0",
4343
"c8": "^7.0.0",
4444
"deepmerge": "^4.0.0",
4545
"hast-util-to-html": "^8.0.0",
4646
"hastscript": "^7.0.0",
4747
"prettier": "^2.0.0",
4848
"remark-cli": "^11.0.0",
4949
"remark-preset-wooorm": "^9.0.0",
50-
"tape": "^5.0.0",
5150
"type-coverage": "^2.0.0",
5251
"typescript": "^4.0.0",
5352
"unist-builder": "^3.0.0",
@@ -70,7 +69,18 @@
7069
"trailingComma": "none"
7170
},
7271
"xo": {
73-
"prettier": true
72+
"prettier": true,
73+
"overrides": [
74+
{
75+
"files": [
76+
"test.js"
77+
],
78+
"rules": {
79+
"no-await-in-loop": 0,
80+
"no-script-url": 0
81+
}
82+
}
83+
]
7484
},
7585
"remarkConfig": {
7686
"plugins": [

0 commit comments

Comments
 (0)