Skip to content

Commit

Permalink
chore(test): add mocha reports
Browse files Browse the repository at this point in the history
  • Loading branch information
Zamralik authored and SmashingQuasar committed Jun 23, 2022
1 parent 9259503 commit 3bd1ad0
Show file tree
Hide file tree
Showing 3 changed files with 6,188 additions and 5,978 deletions.
6 changes: 5 additions & 1 deletion .mocharc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@
"extension": ["ts"],
"spec": "./__tests__/**/*.spec.ts",
"require": "ts-node/register",
"loader": "ts-node/esm"
"loader": "ts-node/esm",
"reporter": "mochawesome",
"reporter-options": [
"reportDir=./reports/mocha"
]
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
"husky": "^8.0.0",
"lint-staged": "^13.0.1",
"mocha": "^10.0.0",
"mochawesome": "^7.1.3",
"pinst": "^3.0.0",
"prettier-package-json": "^2.6.3",
"ts-mocha": "^10.0.0",
Expand Down
Loading

0 comments on commit 3bd1ad0

Please sign in to comment.