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

kulshekhar / ts-jest / 4897835899

pending completion
4897835899

push

github

GitHub
build(deps): Update dependency @commitlint/config-angular to ^17.6.3 (#4123)

937 of 1054 branches covered (88.9%)

Branch coverage included in aggregate %.

4055 of 4154 relevant lines covered (97.62%)

518.45 hits per line

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

88.89
/src/utils/jsonable-value.ts
1
import { stringify } from './json'
3✔
2

3✔
3
// eslint-disable-next-line @typescript-eslint/no-explicit-any
3✔
4
export class JsonableValue<V = Record<string, any>> {
3✔
5
  private _serialized!: string
3✔
6
  private _value!: V
3✔
7

3✔
8
  constructor(value: V) {
3✔
9
    this.value = value
88✔
10
  }
88✔
11

3✔
12
  set value(value: V) {
3✔
13
    this._value = value
114✔
14
    this._serialized = stringify(value)
114✔
15
  }
114✔
16

3✔
17
  get value(): V {
3✔
18
    return this._value
606✔
19
  }
606✔
20

3✔
21
  get serialized(): string {
3✔
22
    return this._serialized
211✔
23
  }
211✔
24

3✔
25
  valueOf(): V {
3✔
26
    return this._value
×
27
  }
×
28

3✔
29
  toString(): string {
3✔
30
    return this._serialized
×
31
  }
×
32
}
3✔
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