vendor/qunit/qunit.js
function( result, message ) {
            message = message || ( result ? "okay" : "failed, expected argument to be truthy, was: " +
            QUnit.dump.parse( result ) );
            if ( !!result ) {
                this.push( true, result, true, message );
            } else {
                this.test.pushFailure( message, null, result );
            }
        }
function( result, message ) {
            message = message || ( result ? "okay" : "failed, expected argument to be truthy, was: " +
            QUnit.dump.parse( result ) );
            if ( !!result ) {
                this.push( true, result, true, message );
            } else {
                this.test.pushFailure( message, null, result );
            }
        }
function ( result , message ) { message = message || ( result ? "okay" : "failed, expected argument to be truthy, was: " + QUnit . dump . parse ( result ) ) ; if ( ! ! result ) { this . push ( true , result , true , message ) ; } else { this . test . pushFailure ( message , null , result ) ; } }
Asserts rough true-ish result.
@name ok
@function
@example ok( "asdfasdf".length > 5, "There must be at least 5 chars" );
Asserts rough true - ish result .