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

andrzej-woof / stuntman / 8908348093

01 May 2024 10:38AM CUT coverage: 81.27% (-1.3%) from 82.594%
8908348093

push

github

web-flow
Deps (#7)

* chore: update deps

* update ts-import

* lose fight with jest

* meh

* meh

* fix

* bump version

* fix ci

* port

* doh

611 of 668 branches covered (91.47%)

Branch coverage included in aggregate %.

25 of 26 new or added lines in 8 files covered. (96.15%)

47 existing lines in 3 files now uncovered.

2218 of 2813 relevant lines covered (78.85%)

13.31 hits per line

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

61.54
/packages/client/src/clientError.ts
1
import { AppError } from '@stuntman/shared';
1✔
2
import type * as Stuntman from '@stuntman/shared';
1✔
3

1✔
4
export enum HttpCode {
1✔
5
    OK = 200,
1✔
6
    NO_CONTENT = 204,
1✔
7
    BAD_REQUEST = 400,
1✔
8
    UNAUTHORIZED = 401,
1✔
9
    NOT_FOUND = 404,
1✔
10
    CONFLICT = 409,
1✔
11
    UNPROCESSABLE_ENTITY = 422,
1✔
12
    INTERNAL_SERVER_ERROR = 500,
1✔
13
}
1✔
14

1✔
15
export class ClientError extends AppError {
1!
UNCOV
16
    public readonly originalStack?: string;
×
UNCOV
17

×
UNCOV
18
    constructor(args: Stuntman.AppError & { stack?: string }) {
×
19
        super(args);
×
20
        if (args.stack) {
×
21
            this.originalStack = args.stack;
×
22
        }
×
23
    }
×
UNCOV
24
}
×
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