We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5a3f68 commit 560975cCopy full SHA for 560975c
packages/plugin-figma-blade-coverage/src/main.ts
@@ -525,11 +525,11 @@ const calculateCoverage = (node: SceneNode): CoverageMetrics | null => {
525
526
if (
527
getParentNode(traversedNode)?.type !== 'PAGE' &&
528
+ getParentNode(traversedNode)?.type !== 'SECTION' &&
529
!NODES_SKIP_FROM_COVERAGE.includes(traversedNode.type) &&
530
// if the frame instances are from Blade's components then we don't want to include them in the count because these are components with slots
531
!ignoreInstanceFrameNodeNames.includes(traversedNode.name)
532
) {
- console.log({ type: traversedNode.type, name: traversedNode.name });
533
// exclude the main frame itself from the count to remove false negatives
534
totalLayers++;
535
}
0 commit comments