stdlib-js / iter-unitspace
Showing 1 of 3 files from the diff.
Other files ignored by Codecov
package.json has changed.

@@ -25,6 +25,7 @@
Loading
25 25
var isnan = require( '@stdlib/math-base-assert-is-nan' );
26 26
var iteratorSymbol = require( '@stdlib/symbol-iterator' );
27 27
var PINF = require( '@stdlib/constants-float64-pinf' );
28 +
var format = require( '@stdlib/string-format' );
28 29
29 30
30 31
// MAIN //
@@ -58,11 +59,11 @@
Loading
58 59
	var curr;
59 60
	var FLG;
60 61
	if ( !isNumber( start ) || isnan( start ) ) {
61 -
		throw new TypeError( 'invalid argument. First argument must be a number. Value: `' + start + '`.' );
62 +
		throw new TypeError( format( 'invalid argument. First argument must be a number. Value: `%s`.', start ) );
62 63
	}
63 64
	if ( arguments.length > 1 ) {
64 65
		if ( !isNumber( stop ) || isnan( stop ) ) {
65 -
			throw new TypeError( 'invalid argument. Second argument must be a number. Value: `' + stop + '`.' );
66 +
			throw new TypeError( format( 'invalid argument. Second argument must be a number primitive. Value: `%s`.', stop ) );
66 67
		}
67 68
		STOP = stop;
68 69
	} else {
Files Coverage
lib 100.00%
Project Totals (2 files) 100.00%
2007627556
unittests
1999989616
unittests

No yaml found.

Create your codecov.yml to customize your Codecov experience

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.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading