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

fkhadra / react-toastify / 12001201729

25 Nov 2024 12:54AM UTC coverage: 42.537% (-46.5%) from 88.998%
12001201729

Pull #1178

github

fkhadra
bump coverall action
Pull Request #1178: [WIP] V11

141 of 375 branches covered (37.6%)

Branch coverage included in aggregate %.

3 of 5 new or added lines in 3 files covered. (60.0%)

214 existing lines in 9 files now uncovered.

201 of 429 relevant lines covered (46.85%)

176.21 hits per line

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

0.0
/src/utils/mapper.ts
1
import { Toast, ToastItem, ToastItemStatus } from '../types';
2

3
export function toToastItem(toast: Toast, status: ToastItemStatus): ToastItem {
UNCOV
4
  return toast != null
×
5
    ? {
6
        content: toast.content,
7
        containerId: toast.props.containerId,
8
        id: toast.props.toastId,
9
        theme: toast.props.theme,
10
        type: toast.props.type,
11
        data: toast.props.data || {},
×
12
        isLoading: toast.props.isLoading,
13
        icon: toast.props.icon,
14
        status
15
      }
16
    : // monkey patch for now
17
      ({} as ToastItem);
18
}
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