Skip to content
Permalink
Browse files

Tests: Allow widgets to not have a default element

  • Loading branch information...
arschmitz committed Apr 21, 2015
1 parent 6e70f94 commit 79d312f3f5cb5629d1bd7f9f899b41f304c388ef
Showing with 3 additions and 1 deletion.
  1. +3 −1 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" );

0 comments on commit 79d312f

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