MCPcopy Create free account
hub / github.com/jquery-validation/jquery-validation / eq

Function eq

test/test.js:2039–2042  ·  view source on GitHub ↗
( expected, msg )

Source from the content-addressed store, hash-verified

2037 element.trigger( "keyup" );
2038 },
2039 eq = function( expected, msg ) {
2040 assert.equal( validator.numberOfInvalids(), expected, "There is only one invalid element." );
2041 assert.equal( validator.invalidElements()[ 0 ], element[ 0 ], msg );
2042 };
2043
2044 check( "" );
2045 eq( 1, "The box1 element should be invalid" );

Callers 1

test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected