Skip to content

Commit 1230090

Browse files
committed
update README.md with teamcity configuration example
1 parent ccd4df8 commit 1230090

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,23 @@ Jasmine specific configuration. Use empty object,
8080

8181
See the [jasmine docs](http://jasmine.github.io/2.4/node.html#section-Configuration) for more information on the supported configuration.
8282

83-
The `reporters` property allows either `spec` property for Configuring the [Jasmine spec reporter](https://github.com/bcaudan/jasmine-spec-reporter) or `teamcity: true` for activating [Jasmine Reporters - TeamCityReporter](https://github.com/larrymyers/jasmine-reporters).
83+
The `reporters` property allows the one of the following properties:
84+
* `spec`: used to configure the [Jasmine spec reporter](https://github.com/bcaudan/jasmine-spec-reporter).
85+
* `teamcity` set it to `true` in order to use [Jasmine Reporters - TeamCityReporter](https://github.com/larrymyers/jasmine-reporters).
8486

85-
If `teamcity` reporter is enabled `spec` reporter will be disabled and `teamcity` reporter will be added to the coverage reporters as well.
87+
If `teamcity` reporter is set `spec` reporter will be disabled and `teamcity` reporter will be added to the coverage reporters as well.
8688

89+
Example of using `teamcity` reporter:
90+
```js
91+
{
92+
spec_dir: 'spec',
93+
spec_files: ['**/*[sS]pec/.js'],
94+
helpers: [],
95+
reporters: {
96+
teamcity: true
97+
}
98+
}
99+
```
87100

88101
#### options.coverage
89102

0 commit comments

Comments
 (0)