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

RoundingWell / care-ops-frontend / 185745f4-cf28-4057-aea1-980b99354cc0

03 Feb 2025 11:18PM UTC coverage: 98.252% (-1.7%) from 100.0%
185745f4-cf28-4057-aea1-980b99354cc0

Pull #1385

circleci

nmajor25
For mocked ws notifications in tests, use type from generated resource
Pull Request #1385: Show comment count on action list items

1746 of 1796 branches covered (97.22%)

Branch coverage included in aggregate %.

18 of 18 new or added lines in 4 files covered. (100.0%)

88 existing lines in 17 files now uncovered.

6011 of 6099 relevant lines covered (98.56%)

2347.87 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;
16!
5

6
  if (error.response) {
16!
7
    const status = error.response.status;
16✔
8
    const { errors } = error.responseData;
16✔
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