You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-2Lines changed: 19 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,24 @@ To run the reporter as a test results processor (after Jest is complete instead
62
62
}
63
63
```
64
64
65
-
***Note:** When running as a testResultsProcessor, the configuration needs be placed within a new file named `jesthtmlreporter.config.json` residing in the root folder.*
65
+
**Note:** When running as a testResultsProcessor, the configuration needs either to be placed within a new file named `jesthtmlreporter.config.json` residing in the root folder
66
+
67
+
```JSON
68
+
{
69
+
"pageTitle": "Test Report",
70
+
}
71
+
```
72
+
73
+
or via adding a key to `package.json` named "jest-html-reporter":
74
+
75
+
```JSON
76
+
{
77
+
...
78
+
"jest-html-reporter": {
79
+
"pageTitle": "Test Report",
80
+
}
81
+
}
82
+
```
66
83
67
84
## 📌 Configuration Options (All Optional)
68
85
@@ -93,7 +110,7 @@ All the configuration options provided in the table above are available via envi
0 commit comments