diff --git a/tests/unit/resizable/options.js b/tests/unit/resizable/options.js index 6eeba98dd..03c40ff98 100644 --- a/tests/unit/resizable/options.js +++ b/tests/unit/resizable/options.js @@ -417,7 +417,7 @@ QUnit.test( "setOption handles", function( assert ) { var target = $( "
" ).resizable(); function checkHandles( expectedHandles ) { - expectedHandles = expectedHandles.map( function( value ) { + expectedHandles = $.map( expectedHandles, function( value ) { return ".ui-resizable-" + value; } );