From d0e45b95773847679eb772b7f9111c1f2b3c6b83 Mon Sep 17 00:00:00 2001 From: Wei Kin Huang Date: Tue, 9 Jun 2015 10:05:35 -0400 Subject: [PATCH] Add documentation --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index f73dbc8..c6c290e 100644 --- a/README.md +++ b/README.md @@ -223,6 +223,20 @@ coverageReporter: { } ``` +#### sourceStore +**Type:** istanbul.Store + +You can opt to specify a source store allowing for external coverage collectors access to the instrumented code. + +```javascript +coverageReporter: { + type : 'text', + dir : 'coverage/', + file : 'coverage.txt', + sourceStore : require('istanbul').Store.create('fslookup') +} +``` + #### multiple reporters You can use multiple reporters, by providing array of options.