Skip to content

Commit e39147d

Browse files
committed
chore: bumps ava to v6
- Move out ava config from package.json to ava.config.cjs
1 parent e43b0b4 commit e39147d

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

ava.config.cjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
files: ["tests/**/*", "!tests/utils.js"],
3+
watchMode: {
4+
ignoreChanges: ["tests/output/**"],
5+
},
6+
};

package.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"devDependencies": {
2929
"@eslint/eslintrc": "^3.3.3",
3030
"@eslint/js": "^9.39.2",
31-
"ava": "^3.15.0",
31+
"ava": "^6.4.1",
3232
"eslint": "^9.39.2",
3333
"eslint-config-prettier": "^10.1.8",
3434
"eslint-config-xo-space": "^0.35.0",
@@ -44,14 +44,5 @@
4444
"lint-staged": {
4545
"*.js": "eslint --cache --fix",
4646
"*.{js,md,json}": "prettier --write"
47-
},
48-
"ava": {
49-
"files": [
50-
"tests/**/*",
51-
"!tests/utils.js"
52-
],
53-
"ignoredByWatcher": [
54-
"tests/output/**"
55-
]
5647
}
5748
}

0 commit comments

Comments
 (0)