escover 6.2.1 → 6.2.2
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/ChangeLog +5 -0
- package/lib/formatters/responsive.js +7 -1
- package/package.json +1 -1
package/ChangeLog
CHANGED
|
@@ -150,7 +150,13 @@ function buildGroupedTable(files, showPercent) {
|
|
|
150
150
|
folderLabel = '.';
|
|
151
151
|
|
|
152
152
|
const trimmedFolder = trim(folderLabel, 25) + '/';
|
|
153
|
-
|
|
153
|
+
|
|
154
|
+
let folderColor = makeRed;
|
|
155
|
+
|
|
156
|
+
if (coverage === 100)
|
|
157
|
+
folderColor = makeGreen;
|
|
158
|
+
|
|
159
|
+
const folderName = folderColor(trimmedFolder);
|
|
154
160
|
|
|
155
161
|
const headerRow = [folderName];
|
|
156
162
|
|