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

CBIIT / INS-WebPortal / 25870215283

14 May 2026 03:54PM UTC coverage: 13.041% (+0.1%) from 12.922%
25870215283

push

github

web-flow
Merge pull request #536 from CBIIT/eslint-improvements

ESLint QoL Improvements

403 of 2284 branches covered (17.64%)

Branch coverage included in aggregate %.

1 of 17 new or added lines in 9 files covered. (5.88%)

3 existing lines in 3 files now uncovered.

393 of 3820 relevant lines covered (10.29%)

35.59 hits per line

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

0.0
/src/pages/error/Error.js
1
import React from 'react';
×
2
import { Link } from 'react-router-dom';
×
NEW
3
import { Grid, withStyles } from '@material-ui/core';
×
UNCOV
4
import bg from '../../assets/error/background.png';
×
5
import heroBg from '../../assets/error/404_bubbles.png';
×
6

7
const Error = ({ classes }) => (
×
8
  <div className={classes.container}>
×
9
    <Grid container className={classes.container2}>
10
      <Grid item xs={12} className={classes.heroImage}>
11
        <img
12
          src={heroBg}
13
          alt="404"
14
          className={classes.heroImg}
15
        />
16
      </Grid>
17

18
      <Grid item xs={12} className={classes.errorTextRow}>
19
        Sorry, page not found
20
      </Grid>
21
      <Grid item xs={12} className={classes.errorText}>
22
        The page you are looking for does not exist or another error has occurred.
23
      </Grid>
24
      <Grid item xs={12} className={classes.errorAction}>
25
        <Link className={classes.link} to="/">BACK HOME</Link>
26
        <div className={classes.polygen} />
27
      </Grid>
28
    </Grid>
29
  </div>
30
);
31

NEW
32
const styles = () => ({
×
33
  container: {
34
    display: 'flex',
35
    marginTop: '-49px',
36
    flexDirection: 'column',
37
    justifyContent: 'center',
38
    alignItems: 'center',
39
    top: 0,
40
    left: 0,
41
    borderTop: '4px solid #417d96',
42
    backgroundRepeat: 'round',
43
    background: `url(${bg})`,
44
  },
45
  heroImage: {
46
    display: 'flex',
47
    flexDirection: 'column',
48
    alignItems: 'center',
49
    height: '180px',
50
    marginLeft: '25px',
51
  },
52
  heroImg: {
53
    width: 'auto',
54
    height: '180px',
55
  },
56
  errorTextRow: {
57
    display: 'flex',
58
    flexDirection: 'column',
59
    alignItems: 'center',
60
    height: '40px',
61
    color: '#000000',
62
    fontFamily: 'Inter',
63
    fontSize: '40px',
64
    fontWeight: '800',
65
    lineHeight: '34px',
66
    marginTop: '18px',
67
  },
68
  errorText: {
69
    fontFamily: 'Nunito',
70
    fontWeight: '600',
71
    fontSize: 17,
72
    textAlign: 'center',
73
    height: '20px',
74
    color: '#000000',
75
    letterSpacing: '0',
76
    lineHeight: '20px',
77
    marginTop: '20px',
78
  },
79
  link: {
80
    padding: '9px 49px 9px 29px',
81
    textDecoration: 'none',
82
    border: '1px solid #767382',
83
    backgroundColor: '#767382',
84
    color: '#ffffff',
85
    fontFamily: 'Lato',
86
    fontSize: '16px',
87
    fontWeight: 'bold',
88
    lineHeight: '26.41px',
89
  },
90
  errorAction: {
91
    marginTop: '25px',
92
    position: 'relative',
93
    display: 'flex',
94
    flexDirection: 'column',
95
    alignItems: 'center',
96
    height: '50px',
97
  },
98
  polygen: {
99
    backgroundColor: '#ffffff',
100
    clipPath: 'polygon(50% 0, 100% 100%, 0 100%)',
101
    width: '11px',
102
    height: '11px',
103
    transform: 'rotate(90deg)',
104
    position: 'absolute',
105
    top: '18px',
106
    right: 'calc(50% - 65px)',
107
  },
108
  container2: {
109
    maxWidth: '1200px',
110
    padding: '109px 0',
111
  },
112
});
×
113

114
export default withStyles(styles, { withTheme: true })(Error);
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