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

cowprotocol / cow-sdk / #1297

13 Mar 2025 12:14PM UTC coverage: 78.779% (+1.6%) from 77.229%
#1297

push

web-flow
Merge f2e8b53f6 into b05a654f3

311 of 426 branches covered (73.0%)

Branch coverage included in aggregate %.

38 of 43 new or added lines in 4 files covered. (88.37%)

3 existing lines in 1 file now uncovered.

721 of 884 relevant lines covered (81.56%)

19.64 hits per line

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

84.62
/src/common/utils/serialize.ts
1
export const jsonReplacer = (_key: string, value: unknown) => {
1✔
2
  // Handle BigInt
3
  if (typeof value === 'bigint') {
20✔
4
    return value.toString()
5✔
5
  }
6
  // Handle BigNumber (if you're using ethers.BigNumber)
7
  if (typeof value === 'object' && value !== null && '_isBigNumber' in value) {
15!
NEW
8
    return value.toString()
×
9
  }
10
  return value
15✔
11
}
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