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

MrSwitch / dare / #77

14 Jun 2026 12:08PM UTC coverage: 69.246% (-30.8%) from 100.0%
#77

push

web-flow
Merge pull request #458 from MrSwitch/next

fix(release): Version 100

339 of 499 branches covered (67.94%)

Branch coverage included in aggregate %.

487 of 512 new or added lines in 6 files covered. (95.12%)

1492 existing lines in 23 files now uncovered.

3437 of 4954 relevant lines covered (69.38%)

4.29 hits per line

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

58.82
/src/utils/validate_alias.js
1
import DareError from './error.js';
9✔
2

9✔
3
export default function validate_alias(key) {
9✔
4
        const [name, label] = key.split('$');
1✔
5

1✔
6
        // Capture errors in the key
1✔
7
        if (!name.match(/^[_a-z]+$/i) || (label && !label.match(/^\w+$/i))) {
1!
UNCOV
8
                throw new DareError(
×
UNCOV
9
                        DareError.INVALID_REFERENCE,
×
UNCOV
10
                        `The table reference '${key}' must match [a-z_]+($[a-z0-9_]+)`
×
UNCOV
11
                );
×
UNCOV
12
        }
×
13
}
1✔
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