Skip to content

Commit 8cdcb56

Browse files
committed
Break out AVA and c8 config into their own files
1 parent abd2e97 commit 8cdcb56

File tree

3 files changed

+23
-19
lines changed

3 files changed

+23
-19
lines changed

.c8rc.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"all": true,
3+
"include": "index.js",
4+
"reporter": [
5+
"html",
6+
"lcov",
7+
"text"
8+
]
9+
}

ava.config.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
const avaConfig = {
2+
files: [
3+
'!test/broken-fixtures/**',
4+
],
5+
watchMode: {
6+
ignoreChanges: [
7+
'test/fixtures/**',
8+
'test/broken-fixtures/**',
9+
],
10+
},
11+
timeout: '60s',
12+
};
13+
14+
export default avaConfig;

package.json

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -32,24 +32,5 @@
3232
"del": "^8.0.0",
3333
"typescript": "^5.8.3",
3434
"xo": "^1.1.0"
35-
},
36-
"c8": {
37-
"reporter": [
38-
"html",
39-
"lcov",
40-
"text"
41-
]
42-
},
43-
"ava": {
44-
"files": [
45-
"!test/broken-fixtures/**"
46-
],
47-
"watcher": {
48-
"ignoreChanges": [
49-
"test/fixtures/**",
50-
"test/broken-fixtures/**"
51-
]
52-
},
53-
"timeout": "60s"
5435
}
5536
}

0 commit comments

Comments
 (0)