stdlib-js / stats-ranks

Compare 2ecba79 ... +0 ... 52db594

Coverage Reach

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.


@@ -82,7 +82,7 @@
Loading
82 82
	var j;
83 83
84 84
	if ( !isCollection( x ) ) {
85 -
		throw new TypeError( format( 'invalid argument. First argument `x` must be an array-like object. Value: `%s`.', x ) );
85 +
		throw new TypeError( format( 'invalid argument. First argument must be an array-like object. Value: `%s`.', x ) );
86 86
	}
87 87
	opts = {};
88 88
	if ( arguments.length > 1 ) {

@@ -60,13 +60,13 @@
Loading
60 60
	if ( hasOwnProp( options, 'method' ) ) {
61 61
		opts.method = options.method;
62 62
		if ( !isString( opts.method ) || !contains( METHODS, opts.method ) ) {
63 -
			return new TypeError( format( 'invalid option. `%s` must be one of the following: %s. Option: `%s`.', 'method', METHODS.join( ',' ), opts.method ) );
63 +
			return new TypeError( format( 'invalid option. `%s` must be one of the following: "%s". Option: `%s`.', 'method', METHODS.join( '", "' ), opts.method ) );
64 64
		}
65 65
	}
66 66
	if ( hasOwnProp( options, 'missing' ) ) {
67 67
		opts.missing = options.missing;
68 68
		if ( !isString( opts.missing ) || !contains( MISSING, opts.missing ) ) {
69 -
			return new TypeError( format( 'invalid option. `%s` must be one of the following: %s. Option: `%s`.', 'missing', MISSING.join( ',' ), opts.missing ) );
69 +
			return new TypeError( format( 'invalid option. `%s` must be one of the following: "%s". Option: `%s`.', 'missing', MISSING.join( '", "' ), opts.missing ) );
70 70
		}
71 71
	}
72 72
	return null;

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 99.36%
Project Totals (6 files) 99.36%
Loading