diff options
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/common.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/lib/common.js b/tests/lib/common.js index c3e898535..d0d72ab8a 100644 --- a/tests/lib/common.js +++ b/tests/lib/common.js @@ -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" ); |