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

Nic30 / d3-wave / 173e4429-8dd4-4410-aa8e-d024e272ef34

pending completion
173e4429-8dd4-4410-aa8e-d024e272ef34

push

circleci

Nic30
v1.1.5

212 of 377 branches covered (56.23%)

Branch coverage included in aggregate %.

612 of 867 relevant lines covered (70.59%)

70.58 hits per line

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

71.43
/src/rowRenderers/enum.js
1
"use strict";
2

3
import { RowRendererBits } from './bits.js';
4

5
export const STRING_FORMAT = {
2✔
6
        STRING: (d) => d,
×
7
}
8
/**
9
 * A renderer for enum value rows, enum value is a string, "" is resolved as invalid value
10
 * and is rendered with red color
11
 */
12
export class RowRendererEnum extends RowRendererBits {
13
        constructor (waveGraph) {
14
        super(waveGraph);
3✔
15
        this.FORMATTERS = STRING_FORMAT;
3✔
16
                this.DEFAULT_FORMAT = STRING_FORMAT.STRING;
3✔
17
    }
18
    select (typeInfo) {
19
        return typeInfo.name === 'enum';
8✔
20
    }
21
    isValid (d) {
22
        return d[1] !== '';
×
23
    }
24
}
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