wooorm / comma-separated-tokens

Compare 4f95d42 ... +7 ... 10a98d5

Coverage Reach
index.js

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

Learn more about Codecov Flags here.

Showing 1 of 4 files from the diff.
Other files ignored by Codecov
package.json has changed.
.travis.yml has changed.
readme.md has changed.

@@ -7,7 +7,7 @@
Loading
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,16 +35,15 @@
Loading
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
  }

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
index.js 100.00%
Project Totals (1 files) 100.00%
Loading