QUnit.push( result, actual, expected, message )
DEPRECATED: Report the result of a custom assertion
||Result of the assertion|
||Expression being tested|
||Known comparison value|
||A short description of the assertion|
This method is deprecated and it’s recommended to use
pushResult on its direct reference in the assertion context.
QUnit.push reflects to the current running test, and it may leak assertions in asynchronous mode. Checkout
assert.pushResult() to set a proper custom assertion.
QUnit.push allows to create a readable expectation that is not defined by any of QUnit’s built-in assertions.