A next-generation tool to create blazing-fast documentation sites
API
created:4/29/2021
updated:4/29/2021
loc
18
comments
17%
passed
28
coverage
75%

ESM

Component to display a live playground of component examples. Has custom actions for zooming, switch direction, review story source and configuration.

Tests results

Status
Full name
Title
Time(ms)
Playground.test.ts(28 tests)
passed
Playground > overview
snapshot
170
passed
Playground > overview
accessibility
639
passed
Playground > defaultOpenSource
snapshot
196
passed
Playground > defaultOpenSource
accessibility
729
passed
Playground > disableZoomPan
snapshot
37
passed
Playground > disableZoomPan
accessibility
372
passed
Playground > multiStories
snapshot
52
passed
Playground > multiStories
accessibility
790
passed
Playground > title
snapshot
60
total 28 tests

Tests coverage

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

A11y tests

Custom playground title

Viewport

Custom playground title

320px

Custom playground title

375px

Custom playground title

768px

Custom playground title

1024px