File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -108,9 +108,9 @@ Or you can define your options in your reporter configuration.
108108``` js
109109// jest.config.js
110110{
111- reporters: [
112- " default" ,
113- [ " jest-junit" , { suiteName: " jest tests" } ]
111+ reporters: [
112+ " default" ,
113+ [ " jest-junit" , { suiteName: " jest tests" } ]
114114 ]
115115}
116116```
@@ -235,9 +235,9 @@ New feature as of jest-junit 11.0.0!
235235Create a file in your project root directory named junitProperties.js:
236236``` js
237237module .exports = () => {
238- return {
239- key: " value"
240- }
238+ return {
239+ key: " value"
240+ }
241241});
242242```
243243
@@ -246,7 +246,7 @@ Will render
246246<testsuites name =" jest tests" >
247247 <testsuite name =" addition" tests =" 1" errors =" 0" failures =" 0" skipped =" 0" timestamp =" 2017-07-13T09:42:28" time =" 0.161" >
248248 <properties >
249- <property name =" key" value =" value" />
249+ <property name =" key" value =" value" />
250250 </properties >
251251 <testcase classname =" addition positive numbers should add up" name =" addition positive numbers should add up" time =" 0.004" >
252252 </testcase >
You can’t perform that action at this time.
0 commit comments