github
188 of 243 branches covered (0.0%)
Branch coverage included in aggregate %.
162 of 166 new or added lines in 25 files covered. (97.59%)
5 existing lines in 4 files now uncovered.6678 of 7621 relevant lines covered (87.63%)
3.49 hits per line
1 |
import { ReactNode } from 'react'; |
1✔ |
|
import V1StatBlock from './v1'; |
1✔ |
|
import V2StatBlock from './v2'; |
1✔ |
|
import V3StatBlock from './v3'; |
1✔ |
5 |
|
1✔ |
6 |
export type StatBlockVariants = {
|
1✔ |
|
V1: typeof V1StatBlock;
|
1✔ |
|
V2: typeof V2StatBlock;
|
1✔ |
|
V3: typeof V3StatBlock;
|
1✔ |
10 |
}; |
1✔ |
11 |
|
1✔ |
12 |
export const StatBlock: StatBlockVariants = ({ |
1✔ |
13 |
children, |
× |
14 |
}: { |
× |
15 |
children: ReactNode;
|
× |
16 |
}) => { |
× |
UNCOV
17
|
return children;
|
× |
UNCOV
18
|
}; |
× |
19 |
|
1✔ |
|
StatBlock.V1 = V1StatBlock; |
1✔ |
|
StatBlock.V2 = V2StatBlock; |
1✔ |
|
StatBlock.V3 = V3StatBlock; |
1✔ |
23 |
|
1✔ |
24 |
export default StatBlock; |
1✔ |