lib/main.js
changed.
Showing 1 of 1 files from the diff.
@@ -111,7 +111,7 @@
Loading
111 | 111 | alpha = opts.alpha; |
|
112 | 112 | } |
|
113 | 113 | if ( alpha < 0.0 || alpha > 1.0 ) { |
|
114 | - | throw new RangeError( format( 'invalid argument. Option `alpha` must be a number in the range 0 to 1. Value: `%f`.', alpha ) ); |
|
114 | + | throw new RangeError( format( 'invalid argument. `%s` option must be a number on the interval: [0, 1]. Value: `%f`.', 'alpha', alpha ) ); |
|
115 | 115 | } |
|
116 | 116 | if ( len < 2 ) { |
|
117 | 117 | throw new Error( format( 'invalid argument. First argument must contain at least two elements. Value: `%s`.', x ) ); |
Files | Coverage |
---|---|
lib | 100.00% |
Project Totals (4 files) | 100.00% |
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.