Skip to content
Permalink
Browse files

Accordion: Update test helper to use QUnit.push instead of deepEqual …

…to get useful stacktrace
  • Loading branch information
jzaefferer committed Mar 7, 2012
1 parent 397176d commit 724772e591e9e721b33c7e2739649b9c5d7a4246
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/unit/accordion/accordion_test_helpers.js
@@ -3,7 +3,7 @@ function accordion_state( accordion ) {
var actual = accordion.find( ".ui-accordion-content" ).map(function() {
return $( this ).css( "display" ) === "none" ? 0 : 1;
}).get();
deepEqual( actual, expected );
QUnit.push( QUnit.equiv(actual, expected), actual, expected );
}

function accordion_equalHeights( accordion, min, max ) {

0 comments on commit 724772e

Please sign in to comment.
You can’t perform that action at this time.