stdlib-js / utils-type-min

Compare 55e6912 ... +0 ... 99cc5f3

Coverage Reach
main.js index.js

Flags

Flags have been temporarily removed from this view while the flagging feature is refactored for better performance and user experience.

You can still use flags when viewing individual files. Flag-level thresholds will also remain on pull and merge requests in your repository provider.

More information can be found in our documentation.


@@ -22,6 +22,7 @@
Loading
22 22
23 23
// MODULES //
24 24
25 +
var format = require( '@stdlib/string-format' );
25 26
var INT8 = require( '@stdlib/constants-int8-min' );
26 27
var INT16 = require( '@stdlib/constants-int16-min' );
27 28
var INT32 = require( '@stdlib/constants-int32-min' );
@@ -74,7 +75,7 @@
Loading
74 75
	case 'uint8c': // eslint-disable-line no-fallthrough
75 76
		return 0;
76 77
	default:
77 -
		throw new TypeError( 'invalid argument. Must provide a recognized type. Value: `'+dtype+'`.' );
78 +
		throw new TypeError( format( 'invalid argument. Must provide a recognized type. Value: `%s`.', dtype ) );
78 79
	}
79 80
}
80 81

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
lib 100.00%
Project Totals (2 files) 100.00%
Loading