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

RoundingWell / care-ops-frontend / 602ca7d4-4178-424f-af45-fe497fe9925f

11 Mar 2025 05:31PM UTC coverage: 98.19% (-1.8%) from 100.0%
602ca7d4-4178-424f-af45-fe497fe9925f

Pull #1403

circleci

paulfalgout
Refactor widget values to base widget
Pull Request #1403: Refactor widget values to base widget

1765 of 1819 branches covered (97.03%)

Branch coverage included in aggregate %.

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

90 existing lines in 17 files now uncovered.

6047 of 6137 relevant lines covered (98.53%)

2283.43 hits per line

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

66.67
/src/js/utils/handle-errors.js
1
import { isError } from 'underscore';
2

3
export default async function handleErrors(error) {
4
  if (isError(error)) throw error;
8!
5

6
  if (error.response) {
8!
7
    const status = error.response.status;
8✔
8
    const { errors } = error.responseData;
8✔
9
    /* istanbul ignore next: can't get coverage on a throw */
10
    throw new Error(`Error Status: ${ status } - ${ JSON.stringify(errors) }`);
11
  }
UNCOV
12
  throw new Error(JSON.stringify(error));
×
13
}
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