2020 * [ Command Line Interface] ( #cli )
2121 * [ Installation] ( #installation )
2222 * [ Usage] ( #usage )
23- * [ Configuration] ( #configuration )
23+ * [ Configuration] ( #configuration )
2424* [ Contributing] ( #contributing )
2525* [ Changelog] ( #changelog )
2626* [ Authors] ( #authors )
@@ -213,6 +213,11 @@ Config properties:
213213* ignore - files and directories to ignore
214214* autoClearMocks - clears all created mocks after each test,
215215* cacheWatcher - enables caching in watch mode, to run only new or changed tests
216+ * enableReporting - enables generating test reports.
217+ To enable it install a reporting package:
218+ ``` shell
219+ $ yarn add @stlib/testing-reporter
220+ ```
216221
217222Config file example:
218223
@@ -222,7 +227,8 @@ Config file example:
222227 "pattern" : " test/**/*.{spec,test}.ts" ,
223228 "ignore" : [" node_modules" , " lib" ],
224229 "autoClearMocks" : true ,
225- "cacheWatcher" : false
230+ "cacheWatcher" : false ,
231+ "enableReporting" : false
226232 }
227233 ```
228234
@@ -234,6 +240,7 @@ Config file example:
234240 - lib
235241 autoClearMocks: true
236242 cacheWatcher: false
243+ enableReporting: false
237244 ```
238245
239246 * TS/JS:
@@ -245,6 +252,7 @@ Config file example:
245252 ignore: ["node_modules", "lib"],
246253 autoClearMocks: true,
247254 cacheWatcher: false,
255+ enableReporting: false,
248256 };
249257 export default config;
250258 ```
0 commit comments