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

larsthorup / amaze / 7237131940

17 Dec 2023 07:36AM UTC coverage: 98.248% (+0.4%) from 97.812%
7237131940

push

github

larsthorup
type checking

136 of 139 branches covered (0.0%)

261 of 263 new or added lines in 18 files covered. (99.24%)

673 of 685 relevant lines covered (98.25%)

9.36 hits per line

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

71.43
/src/lib/assert.js
1
/**
1✔
2
 * @param {unknown} condition
1✔
3
 * @returns {asserts condition}
1✔
4
 */
1✔
5
export function assert (condition) {
1✔
NEW
6
  if (!condition) throw Error('Assertion failed');
×
NEW
7
}
×
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