A next-generation tool to create blazing-fast documentation sites
API
created:4/29/2021
updated:4/29/2021
loc
32
comments
16%
passed
12
coverage
73%

TestsCoverage

avatar of atanasster
@component-controls/blocks
3.15.0

Displays jest tests coverage for a component, within a block

import { TestsCoverage } from '@component-controls/blocks';

Overview

Kind
Total
Covered
Skipped
%
Table.tsx
lines
51
50
0
98.04%
functions
10
7
0
70%
statements
56
55
0
98.21%
branches
49
40
0
81.63%
TableFilter.tsx
lines
6
5
0
83.33%
functions
2
1
0
50%
statements
6
5
0
83.33%
branches
4
1
0
25%
Name
Description
Default
BlockContainerOwnProps(6 properties)
title

optional section title for the block.

string
-
description

optional markdown description.

string
-
id

optional id to be used for the block if no id is provided, one will be calculated automatically from the title.

string
-
collapsible

if false, will nothave a collapsible frame.

boolean
-
data-testid

testing id

string
-
plain

inner container variant or plain

boolean
-
HTMLAttributes(42 properties)
Attributes(2 properties)
AriaAttributes(48 properties)
DOMAttributes(161 properties)
-(2 properties)
BoxOwnProps(3 properties)
SpaceProps(28 properties)
BackgroundColorProps(2 properties)
OpacityProps(1 properties)
StoryInputProps(1 properties)

Commits

Date
Author
Commit Message
5/10/2021

atanasster

avatar of atanasster
fix: empty jest tests hide block
4/24/2021

atanasster

avatar of atanasster
fix: remove log
4/23/2021

atanasster

avatar of atanasster
feat: tests coverage block
3 commits
package
imports
peer
BlockContainerPropsBlockContainer
useStoryComponentStoryInputProps
react
^17.0.1
FC
*
theme-ui
^0.8.4
jsx
file
imports
"./BaseTestsCoverage"
BaseTestsCoverageBaseTestsCoverageProps
"../context"
useCustomProps

Stories

Kind
Total
Covered
Skipped
%
Table.tsx
lines
51
50
0
98.04%
functions
10
7
0
70%
statements
56
55
0
98.21%
Total: 24 records
Page 1 of 8