Skip to content

Commit

Permalink
Merge pull request #235 from sezanzeb/patch-1
Browse files Browse the repository at this point in the history
Fixed indentation of reporter config example
  • Loading branch information
palmerj3 authored Nov 24, 2022
2 parents 05e37c9 + 181b6cc commit 5665bbf
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ Or you can define your options in your reporter configuration.
```js
// jest.config.js
{
reporters: [
"default",
[ "jest-junit", { suiteName: "jest tests" } ]
reporters: [
"default",
[ "jest-junit", { suiteName: "jest tests" } ]
]
}
```
Expand Down Expand Up @@ -235,9 +235,9 @@ New feature as of jest-junit 11.0.0!
Create a file in your project root directory named junitProperties.js:
```js
module.exports = () => {
return {
key: "value"
}
return {
key: "value"
}
});
```

Expand All @@ -246,7 +246,7 @@ Will render
<testsuites name="jest tests">
<testsuite name="addition" tests="1" errors="0" failures="0" skipped="0" timestamp="2017-07-13T09:42:28" time="0.161">
<properties>
<property name="key" value="value" />
<property name="key" value="value" />
</properties>
<testcase classname="addition positive numbers should add up" name="addition positive numbers should add up" time="0.004">
</testcase>
Expand Down

0 comments on commit 5665bbf

Please sign in to comment.