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

cartesi / rollups-explorer / 7650503353

25 Jan 2024 05:59AM UTC coverage: 95.036% (+0.06%) from 94.978%
7650503353

Pull #69

github

dandheedge
fix: failing test on sendTransaction unit test
Pull Request #69: 56. Fix the logical condition for displaying the warning.

361 of 440 branches covered (0.0%)

Branch coverage included in aggregate %.

5095 of 5301 relevant lines covered (96.11%)

14.23 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