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
198
passed
Playground > overview
accessibility
987
passed
Playground > defaultOpenSource
snapshot
304
passed
Playground > defaultOpenSource
accessibility
976
passed
Playground > disableZoomPan
snapshot
36
passed
Playground > disableZoomPan
accessibility
633
passed
Playground > multiStories
snapshot
61
passed
Playground > multiStories
accessibility
1037
passed
Playground > title
snapshot
74
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