mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Tests: Allow widgets to not have a default element
This commit is contained in:
parent
6e70f94aa0
commit
79d312f3f5
@ -70,7 +70,9 @@ exports.testWidget = function( widget, settings ) {
|
||||
exports.testJshint( "/widgets/" + widget );
|
||||
testWidgetDefaults( widget, settings.defaults );
|
||||
testWidgetOverrides( widget );
|
||||
testBasicUsage( widget );
|
||||
if ( !settings.noDefaultElement ) {
|
||||
testBasicUsage( widget );
|
||||
}
|
||||
test( "version", function() {
|
||||
expect( 1 );
|
||||
ok( "version" in $.ui[ widget ].prototype, "version property exists" );
|
||||
|
Loading…
Reference in New Issue
Block a user