lib/index.js
changed.
Showing 1 of 1 files from the diff.
@@ -90,7 +90,9 @@
Loading
90 | 90 | // See: <https://github.com/facebook/react/pull/7515>. |
|
91 | 91 | // See: <https://github.com/remarkjs/remark-react/issues/64>. |
|
92 | 92 | if (children && tableElements.has(name)) { |
|
93 | - | children = children.filter((child) => child !== '\n') |
|
93 | + | children = children.filter( |
|
94 | + | (child) => typeof child !== 'string' || child.trim().length > 0 |
|
95 | + | ) |
|
94 | 96 | } |
|
95 | 97 | ||
96 | 98 | if (options.components && own.call(options.components, name)) { |
Files | Coverage |
---|---|
index.js | 100.00% |
lib/index.js | 100.00% |
Project Totals (2 files) | 100.00% |
1217654411
1217654411
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.