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

atlp-rwanda / trojans-ec-fe / deb4f0a9-072d-4634-aae5-cf86f706e873

pending completion
deb4f0a9-072d-4634-aae5-cf86f706e873

Pull #47

circleci

Ntare cedrick
Merge branch 'ft-sales-status-000003' of github.com:atlp-rwanda/trojans-ec-fe into ft-sales-status-000003
Pull Request #47: #000003 update sales status

553 of 843 branches covered (65.6%)

Branch coverage included in aggregate %.

120 of 120 new or added lines in 8 files covered. (100.0%)

1302 of 1731 relevant lines covered (75.22%)

23.03 hits per line

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

66.67
/src/components/notification/notification.js
1
import React from 'react'
2
import {IoMdNotifications} from 'react-icons/io';
3
import NotificationBadge, { Effect } from 'react-notification-badge'
4
import useNotification from '../hooks/useNotification';
5
import AllNotification from './allNotification';
6
import { ToastContainer } from 'react-toastify';
7

8
const Notification = () => {
26✔
9
    const {
10
        handleOpen,
11
        totalNotification,
12
        isOpen,
13
    } = useNotification();  
138✔
14
    
15

16
  return (
132✔
17
    
18
    <div>
19
      <div className='relative z-10'>
20
         
21
          <div className='bell-icon text-4xl notifications'>
22
              <a href="#"  onClick={()=> handleOpen()} data-testid='bellIcon'>
×
23
                <NotificationBadge count={totalNotification} effect={Effect.SCALE}/>             
24
              <IoMdNotifications/>
25
              </a>
26
          </div>
27
        {isOpen &&(
132!
28
          <div className='absolute right-0'>
29
            <AllNotification />
30
          </div>
31
        )}
32
      </div>
33
    </div>
34
  )
35
}
36

37
export default Notification
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

© 2026 Coveralls, Inc