No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
4f95d42
... +7 ...
10a98d5
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
7 | 7 | var space = ' ' |
|
8 | 8 | var empty = '' |
|
9 | 9 | ||
10 | - | /* Parse comma-separated tokens to an array. */ |
|
10 | + | // Parse comma-separated tokens to an array. |
|
11 | 11 | function parse(value) { |
|
12 | 12 | var values = [] |
|
13 | 13 | var input = String(value || empty) |
35 | 35 | return values |
|
36 | 36 | } |
|
37 | 37 | ||
38 | - | /* Compile an array to comma-separated tokens. |
|
39 | - | * `options.padLeft` (default: `true`) pads a space left of each |
|
40 | - | * token, and `options.padRight` (default: `false`) pads a space |
|
41 | - | * to the right of each token. */ |
|
38 | + | // Compile an array to comma-separated tokens. |
|
39 | + | // `options.padLeft` (default: `true`) pads a space left of each token, and |
|
40 | + | // `options.padRight` (default: `false`) pads a space to the right of each token. |
|
42 | 41 | function stringify(values, options) { |
|
43 | 42 | var settings = options || {} |
|
44 | 43 | var left = settings.padLeft === false ? empty : space |
|
45 | 44 | var right = settings.padRight ? space : empty |
|
46 | 45 | ||
47 | - | /* Ensure the last empty entry is seen. */ |
|
46 | + | // Ensure the last empty entry is seen. |
|
48 | 47 | if (values[values.length - 1] === empty) { |
|
49 | 48 | values = values.concat(empty) |
|
50 | 49 | } |
Files | Coverage |
---|---|
index.js | 100.00% |
Project Totals (1 files) | 100.00% |
10a98d5
019b3e6
40a34cc
8b56cf2
c94d74d
4ac2a72
1a74a27
b0c8b64
4f95d42