Skip to content

Commit 5665bbf

Browse files
authored
Merge pull request #235 from sezanzeb/patch-1
Fixed indentation of reporter config example
2 parents 05e37c9 + 181b6cc commit 5665bbf

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

+7-7
Original file line numberDiff line numberDiff 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!
235235
Create a file in your project root directory named junitProperties.js:
236236
```js
237237
module.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>

0 commit comments

Comments
 (0)