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

visgl / deck.gl / 14585694690

22 Apr 2025 02:57AM UTC coverage: 47.453% (-44.0%) from 91.489%
14585694690

Pull #9588

github

web-flow
Merge e916dece4 into b04187ddb
Pull Request #9588: feat(core): Add View.clone() method

648 of 778 branches covered (83.29%)

Branch coverage included in aggregate %.

6 of 6 new or added lines in 1 file covered. (100.0%)

27167 existing lines in 269 files now uncovered.

28564 of 60782 relevant lines covered (46.99%)

2.05 hits per line

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

61.54
/modules/core/src/utils/assert.ts
1
// deck.gl
1✔
2
// SPDX-License-Identifier: MIT
1✔
3
// Copyright (c) vis.gl contributors
1✔
4

1✔
5
// Replacement for the external assert method to reduce bundle size
1✔
6
// Note: We don't use the second "message" argument in calling code,
1✔
7
// so no need to support it here
1✔
UNCOV
8
export default function assert(condition: any, message?: string): asserts condition {
✔
UNCOV
9
  if (!condition) {
×
UNCOV
10
    throw new Error(message || 'deck.gl: assertion failed.');
×
UNCOV
11
  }
×
UNCOV
12
}
×
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