testilo 28.0.0 → 28.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -751,11 +751,11 @@ A module can invoke `summarize()` in this way:
|
|
|
751
751
|
```javaScript
|
|
752
752
|
const {summarize} = require('testilo/summarize');
|
|
753
753
|
const reports = […];
|
|
754
|
-
const summary = summarize(reports);
|
|
754
|
+
const summary = summarize('external', reports);
|
|
755
755
|
…
|
|
756
756
|
```
|
|
757
757
|
|
|
758
|
-
The `reports` argument is an array of scored reports. The `summary` constant is an object. The module can further dispose of `summary` as needed.
|
|
758
|
+
The first argument to `summarize()` is a description of the set of summarized repeorts. The `reports` argument is an array of scored reports. The `summary` constant is an object. The module can further dispose of `summary` as needed.
|
|
759
759
|
|
|
760
760
|
##### By a user
|
|
761
761
|
|