A next-generation tool to create blazing-fast documentation sites
API
created:3/5/2021
updated:3/5/2021
loc
37
comments
16%
passed
12
coverage
75%

StoryConfig

avatar of atanasster

Displays the configuration object of a story.

Tests results

Status
Full name
Title
Time(ms)
StoryConfig.test.ts(12 tests)
passed
StoryConfig > overview
snapshot
265
passed
StoryConfig > overview
accessibility
665
passed
StoryConfig > theme
snapshot
287
passed
StoryConfig > theme
accessibility
1538
passed
StoryConfig > themeSelector
snapshot
243
passed
StoryConfig > themeSelector
accessibility
1653
passed
StoryConfig > customTitle
snapshot
161
passed
StoryConfig > customTitle
accessibility
650
passed
StoryConfig > notCollapsible
snapshot
101
total 12 tests

Tests coverage

Kind
Total
Covered
Skipped
%
StoryConfig.tsx
lines
11
11
0
100%
functions
1
1
0
100%
statements
12
12
0
100%
branches
4
3
0
75%

A11y tests

story

{
"id": "id-of-story",
"doc": "Story",
"component": "ArrowButton",
"description": "description of story",
"name": "story",
"subcomponents": {
"My Button Tab": "Button"
},
"subtitle": "story subtitle"
}

Viewport

story

{
"id": "id-of-story",
"doc": "Story",
"component": "ArrowButton",
"description": "description of story",
"name": "story",
"subcomponents": {
"My Button Tab": "Button"
},
"subtitle": "story subtitle"
}
320px

story

{
"id": "id-of-story",
"doc": "Story",
"component": "ArrowButton",
"description": "description of story",
"name": "story",
"subcomponents": {
"My Button Tab": "Button"
},
"subtitle": "story subtitle"
}
375px

story

{
"id": "id-of-story",
"doc": "Story",
"component": "ArrowButton",
"description": "description of story",
"name": "story",
"subcomponents": {
"My Button Tab": "Button"
},
"subtitle": "story subtitle"
}
768px

story

{
"id": "id-of-story",
"doc": "Story",
"component": "ArrowButton",
"description": "description of story",
"name": "story",
"subcomponents": {
"My Button Tab": "Button"
},
"subtitle": "story subtitle"
}
1024px