Skip to content

Commit afb2105

Browse files
armano2byCedric
authored andcommitted
test(cli): migrates tests from ava to jest (#907)
* test(cli): migrates tests from ava to jest * test: fix stdout -> stderr * test(cli): update comments * chore: change main to index.js and update types
1 parent bc548de commit afb2105

File tree

7 files changed

+264
-262
lines changed

7 files changed

+264
-262
lines changed

@commitlint/cli/package.json

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,9 @@
1414
"build": "cross-env NODE_ENV=production babel src --out-dir lib --source-maps",
1515
"deps": "dep-check",
1616
"pkg": "pkg-check",
17-
"start": "concurrently \"ava -c 4 --verbose --watch\" \"yarn run watch\"",
18-
"test": "ava -c 4 --verbose",
17+
"start": "yarn run watch",
1918
"watch": "babel src --out-dir lib --watch --source-maps"
2019
},
21-
"ava": {
22-
"files": [
23-
"lib/**/*.test.js"
24-
],
25-
"source": [
26-
"lib/**/*.js"
27-
]
28-
},
2920
"babel": {
3021
"presets": [
3122
"babel-preset-commitlint"
@@ -58,7 +49,6 @@
5849
"@babel/register": "^7.7.7",
5950
"@commitlint/test": "8.2.0",
6051
"@commitlint/utils": "^8.3.4",
61-
"ava": "2.4.0",
6252
"babel-preset-commitlint": "^8.2.0",
6353
"concurrently": "3.6.1",
6454
"cross-env": "6.0.3",

0 commit comments

Comments
 (0)