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

kulshekhar / ts-jest / 10066013409

23 Jul 2024 08:35PM UTC coverage: 95.254%. Remained the same
10066013409

push

github

ahnpnl
build(deps): Update dependency @testing-library/jest-dom to ^6.4.8

777 of 875 branches covered (88.8%)

Branch coverage included in aggregate %.

4763 of 4941 relevant lines covered (96.4%)

1242.48 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'
6✔
2

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

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

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

6✔
17
  get value(): V {
6✔
18
    return this._value
1,368✔
19
  }
1,368✔
20

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

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

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