created:3/5/2021
updated:3/5/2021
loc
37
comments
32%
passed
10
coverage
50%
Toggle
Toggle components can be used to edit boolean values. Uses react-switch component.
Status | Full name | Title | Time(ms) | |
---|---|---|---|---|
Toggle.test.ts(10 tests) | ||||
passed | Toggle > overview | snapshot | 80 | |
passed | Toggle > overview | accessibility | 175 | |
passed | Toggle > label | snapshot | 47 | |
passed | Toggle > label | accessibility | 280 | |
passed | Toggle > customIcons | snapshot | 25 | |
passed | Toggle > customIcons | accessibility | 98 | |
passed | Toggle > octicons | snapshot | 33 | |
passed | Toggle > octicons | accessibility | 220 | |
passed | Toggle > checkbox | snapshot | 30 |
total 10 tests
Kind | Total | Covered | Skipped | % | |
---|---|---|---|---|---|
Toggle.tsx | |||||
lines | 11 | 11 | 0 | 100% | |
functions | 1 | 1 | 0 | 100% | |
statements | 12 | 12 | 0 | 100% | |
branches | 4 | 2 | 0 | 50% |