MCPcopy Create free account
hub / github.com/HtmlUnit/htmlunit / ok

Function ok

src/test/resources/libraries/tinymce/3.2.7/tests/js/testrunner.js:483–488  ·  view source on GitHub ↗

* Asserts true. * @example ok( $("a").size() > 5, "There must be at least 5 anchors" );

(a, msg)

Source from the content-addressed store, hash-verified

481 * @example ok( $("a").size() > 5, "There must be at least 5 anchors" );
482 */
483function ok(a, msg) {
484 config.assertions.push({
485 result: !!a,
486 message: msg
487 });
488}
489
490/**
491 * Asserts that two arrays are the same

Callers 15

requireFixtureFunction · 0.85
test.jsFile · 0.85
dimensions.jsFile · 0.85
selector.jsFile · 0.85
deferred.jsFile · 0.85
offset.jsFile · 0.85
effects.jsFile · 0.85
traversing.jsFile · 0.85
ajax.jsFile · 0.85
passFunction · 0.85
failFunction · 0.85
createStatusCodesFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected