Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Custom matchers #39

Closed
NV opened this Issue · 1 comment

2 participants

@NV
NV commented

Would be great to define custom matchers like this:

QUnit.sameOwnProperties = function(actual, expected, message) {
  QUnit._push(myCompare(actual, expected), actual, expected, message);
}

To do that we have to move push function from the closure into QUnit._push (or QUnit.push, whatever).

@jzaefferer
Owner

Expose push as QUnit.push to build custom assertions. Closed by 5fb42a8

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.