Skip to content

Commit 278feb3

Browse files
committed
Update jest reporter configuration
- Update jest-html-reporter configuration to enable displaying failure messages and console.log output in the html reporter page.
1 parent 9d7f74b commit 278feb3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"license": "UNLICENSED",
55
"scripts": {
66
"test": "jest",
7-
"test:watch": "jest --watchAll"
7+
"test:watch": "jest --watchAll --verbose=false"
88
},
99
"devDependencies": {
1010
"jest": "^26.6.3",
@@ -18,7 +18,9 @@
1818
"./node_modules/jest-html-reporter",
1919
{
2020
"pageTitle": "Lab Solution",
21-
"outputPath": "lab-solution.html"
21+
"outputPath": "lab-solution.html",
22+
"includeFailureMsg": true,
23+
"includeConsoleLog": true
2224
}
2325
]
2426
]

0 commit comments

Comments
 (0)