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

vitrail / rollup-plugin-typescript / 78

28 Jan 2025 10:32AM UTC coverage: 100.0%. Remained the same
78

push

gitlab-ci

Eric MORAND
Merge branch 'issue-7' into 'main'

Resolve issue #7

Closes #7

See merge request vitrail/rollup-plugin-typescript!12

50 of 50 branches covered (100.0%)

Branch coverage included in aggregate %.

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

137 of 137 relevant lines covered (100.0%)

646.58 hits per line

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

100.0
/src/main/lib/helpers.ts
1
/**
2
 * Checks if the given OutputFile represents some declaration
3
 */
4
export const isADeclarationOutputFile = (name: string): boolean => {
1✔
5
    return /\.d\.[cm]?ts$/.test(name);
720✔
6
};
7

8
/**
9
 * Checks if the given OutputFile represents some code
10
 */
11
export const isACodeOutputFile = (name: string): boolean => {
1✔
12
    return !isAMapOutputFile(name) && !isADeclarationOutputFile(name);
209✔
13
};
14

15
/**
16
 * Checks if the given OutputFile represents some source map
17
 */
18
export const isAMapOutputFile = (name: string): boolean => {
1✔
19
    return name.endsWith('.map');
627✔
20
};
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