• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cartesi / rollups-explorer / 7459483902

09 Jan 2024 09:59AM UTC coverage: 95.485%. First build
7459483902

Pull #98

github

nevendyulgerov
feat: Add coveralls badge
Pull Request #98: #97 Add build steps for generating and uploading test coverage

344 of 421 branches covered (0.0%)

Branch coverage included in aggregate %.

4858 of 5027 relevant lines covered (96.64%)

14.43 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

93.94
/packages/ui/src/Card.tsx
1
import type { FC, ReactNode } from "react";
1✔
2
import {
1✔
3
    Card as MantineCard,
1✔
4
    CardProps as MantineCardProps,
1✔
5
    useMantineColorScheme,
1✔
6
} from "@mantine/core";
1✔
7

1✔
8
export interface CardProps extends MantineCardProps {
1✔
9
    children: ReactNode;
1✔
10
}
1✔
11

1✔
12
export const Card: FC<CardProps> = ({ children, ...restProps }) => {
1✔
13
    const { colorScheme } = useMantineColorScheme();
4✔
14

4✔
15
    return (
4✔
16
        <MantineCard
4✔
17
            {...restProps}
4✔
18
            shadow="sm"
4✔
19
            style={{
4✔
20
                ...restProps.style,
4✔
21
                border: `calc(0.0625rem * var(--mantine-scale)) solid ${
4✔
22
                    colorScheme === "light"
4✔
23
                        ? "var(--mantine-color-gray-3)"
4!
24
                        : "var(--mantine-color-dark-4)"
×
25
                }`,
4✔
26
            }}
4✔
27
        >
4✔
28
            {children}
4✔
29
        </MantineCard>
4✔
30
    );
4✔
31
};
4✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc