push
github
3458 of 4432 branches covered (78.02%)
Branch coverage included in aggregate %.
16 of 16 new or added lines in 10 files covered. (100.0%)
1793 existing lines in 129 files now uncovered.29424 of 35625 relevant lines covered (82.59%)
183.2 hits per line
|
UNCOV
1
|
/* eslint-disable import-x/extensions */
|
|
|
UNCOV
2
|
import { HttpClient } from '@angular/common/http';
|
× |
|
UNCOV
3
|
import { HttpClientBase, kBackend } from '@opra/client';
|
× |
|
UNCOV
4
|
import { AngularBackend } from './angular-backend';
|
× |
|
UNCOV
5
|
|
× |
|
UNCOV
6
|
/**
|
× |
|
UNCOV
7
|
* |
× |
|
UNCOV
8
|
* @class OpraAngularClient |
× |
|
UNCOV
9
|
*/ |
× |
|
UNCOV
10
|
export class OpraAngularClient extends HttpClientBase<AngularBackend.RequestOptions> { |
× |
|
UNCOV
11
|
declare [kBackend]: AngularBackend; |
× |
|
UNCOV
12
|
|
× |
|
UNCOV
13
|
constructor( |
× |
|
UNCOV
14
|
httpClient: HttpClient, |
× |
|
UNCOV
15
|
serviceUrl: string,
|
× |
|
UNCOV
16
|
options?: AngularBackend.Options, |
× |
|
UNCOV
17
|
) {
|
× |
|
UNCOV
18
|
super(new AngularBackend(httpClient, serviceUrl, options));
|
× |
|
UNCOV
19
|
} |
× |
|
UNCOV
20
|
|
× |
|
UNCOV
21
|
get defaults(): AngularBackend.RequestDefaults {
|
× |
| 22 |
return this[kBackend].defaults; |
× |
|
UNCOV
23
|
} |
× |
|
UNCOV
24
|
} |
× |