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
274
passed
StoryConfig > overview
accessibility
907
passed
StoryConfig > theme
snapshot
449
passed
StoryConfig > theme
accessibility
1758
passed
StoryConfig > themeSelector
snapshot
268
passed
StoryConfig > themeSelector
accessibility
1666
passed
StoryConfig > customTitle
snapshot
105
passed
StoryConfig > customTitle
accessibility
831
passed
StoryConfig > notCollapsible
snapshot
130
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 configuration

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

Viewport

Story configuration

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

Story configuration

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

Story configuration

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

Story configuration

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