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

atinc / ngx-tethys / ba7e05e2-37c0-44c6-8725-6f617aa0d43e

pending completion
ba7e05e2-37c0-44c6-8725-6f617aa0d43e

Pull #2756

circleci

huanhuanwa
test(color-picker): add test #INFR-8673
Pull Request #2756: feat(color-picker): add popoverRef param when panel open and close #INFR-8673

187 of 6315 branches covered (2.96%)

Branch coverage included in aggregate %.

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

2645 of 13660 relevant lines covered (19.36%)

83.2 hits per line

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

50.0
/src/core/color/color.ts
1
export const presetThemeColors = ['primary', 'success', 'info', 'warning', 'danger', 'default', 'light'] as const;
1✔
2

3
export type ThyThemeColor = (typeof presetThemeColors)[number];
×
4

5
export function isThemeColor(color: ThyThemeColor | string): boolean {
1✔
6
    return presetThemeColors.includes(color as ThyThemeColor);
7
}
×
8

9
export const presetTextColors = [...presetThemeColors, 'secondary', 'muted', 'desc', 'placeholder', 'white', 'body'] as const;
1✔
10

11
export type ThyTextColor = (typeof presetTextColors)[number];
×
12

13
export function isTextColor(color: ThyTextColor | string): boolean {
14
    return presetTextColors.includes(color as ThyTextColor);
15
}
16

17
export const presetBgColors = [...presetThemeColors, 'secondary', 'dark', 'lighter', 'bright', 'content', 'white', 'transparent'] as const;
18

19
export type ThyBgColor = (typeof presetBgColors)[number];
20

21
export function isBgColor(color: ThyBgColor | string): boolean {
22
    return presetBgColors.includes(color as ThyBgColor);
23
}
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