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
{{ message }}
This repository was archived by the owner on Feb 19, 2020. It is now read-only.
Instrumenting your app for coverage is probably harder than it needs to be (read [here](http://www.seejohncode.com/2012/03/13/setting-up-mocha-jscoverage/)), but that's also a necessary step.
70
75
@@ -82,9 +87,9 @@ Instrumenting your app for coverage is probably harder than it needs to be (read
* Add test with coverage step to your package.json:
90
95
@@ -100,7 +105,7 @@ npm run test-with-coverage
100
105
npm run test-with-coverage
101
106
```
102
107
103
-
#### With Jasmine
108
+
#####With Jasmine
104
109
105
110
* Add test with coverage step to your package.json:
106
111
@@ -116,7 +121,7 @@ npm run test-with-coverage
116
121
npm run test-with-coverage
117
122
```
118
123
119
-
### [Poncho](https://github.com/deepsweet/poncho)
124
+
####[Poncho](https://github.com/deepsweet/poncho)
120
125
121
126
Client-side JS code coverage using [PhantomJS](https://github.com/ariya/phantomjs), [Mocha](http://mochajs.org) and [Blanket](https://github.com/alex-seville/blanket):
122
127
@@ -136,7 +141,7 @@ Client-side JS code coverage using [PhantomJS](https://github.com/ariya/phantomj
136
141
npm run test-with-coverage
137
142
```
138
143
139
-
### [Jest](https://facebook.github.io/jest/)
144
+
####[Jest](https://facebook.github.io/jest/)
140
145
141
146
* Add test with coverage step to your package.json:
142
147
@@ -156,7 +161,7 @@ npm run test-with-coverage
156
161
157
162
### Account Token
158
163
159
-
To send coverage using your account/api token you can follow the following steps.
164
+
As an alternative to the Project API token you can also send coverage using your account/api token by following steps:
160
165
161
166
* Add test with coverage step to your package.json:
162
167
@@ -172,7 +177,10 @@ To send coverage using your account/api token you can follow the following steps
172
177
npm run test-with-coverage
173
178
```
174
179
175
-
As an alternative you can also export `CODACY_ACCOUNT_TOKEN` instead of passing `--accountToken <account-token>` to the CLI.
180
+
You'll need to provide the secret Account API token from [Codacy Account](https://app.codacy.com/account/apiTokens)` > API Tokens` via:
0 commit comments