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

TestsResults

avatar of atanasster
@component-controls/blocks
3.15.0

Displays tests results details for a component, within a block

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

Pagination

Status
Full name
Title
Time(ms)
Table.test.ts(12 tests)
passed
Table
overview
196
passed
Table
noHeader
91
failed
Table
editing
33
Total: 12 records
Page 1 of 4
Name
Description
Default
Controls
pageSize
number
4
pageVisible
boolean
true
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: memoize totalTests
5/10/2021

atanasster

avatar of atanasster
fix: multiple test files check
5/10/2021

atanasster

avatar of atanasster
fix: misssing test results
5/10/2021

atanasster

avatar of atanasster
chore: temp log
5/10/2021

atanasster

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

atanasster

avatar of atanasster
feat: tests coverage block
4/22/2021

atanasster

avatar of atanasster
feat: test results block
7 commits
package
imports
peer
BlockContainerPropsBlockContainer
useStoryComponentStoryInputProps
react
^17.0.1
useMemoFC
*
theme-ui
^0.8.4
jsx
file
imports
"./BaseTestsResults"
BaseTestsResultsBaseTestsResultsProps
"../context"
useCustomProps

Stories

Overview

Status
Full name
Title
Time(ms)
Table.test.ts(12 tests)
passed
Table
overview
196
passed
Table
noHeader
91
failed
Table
editing
33
disabled
Table
disable
33
pending
Table
pending
33
skipped
Table
skipped
33
todo
Table
todo
33
passed
Table
rowSelect
144
passed
Table
pagination
169
total 12 tests