mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Tests: Fix missing wrappers in progressbar tests
This commit is contained in:
parent
60c00cd4ec
commit
9a28197f89
@ -1,3 +1,5 @@
|
||||
(function( $ ) {
|
||||
|
||||
module( "progressbar: core" );
|
||||
|
||||
test( "markup structure", function() {
|
||||
@ -51,3 +53,5 @@ test( "accessibility", function() {
|
||||
equal( element.attr( "aria-valuemax" ), 150, "aria-valuemax" );
|
||||
strictEqual( element.attr( "aria-valuenow" ), undefined, "aria-valuenow" );
|
||||
});
|
||||
|
||||
}( jQuery ) );
|
||||
|
@ -1,3 +1,5 @@
|
||||
(function( $ ) {
|
||||
|
||||
module( "progressbar: events" );
|
||||
|
||||
test( "create", function() {
|
||||
@ -49,3 +51,5 @@ test( "complete", function() {
|
||||
value = 100;
|
||||
element.progressbar( "value", value );
|
||||
});
|
||||
|
||||
}( jQuery ) );
|
||||
|
@ -1,3 +1,5 @@
|
||||
(function( $ ) {
|
||||
|
||||
module( "progressbar: methods" );
|
||||
|
||||
test( "destroy", function() {
|
||||
@ -33,3 +35,5 @@ test( "widget", function() {
|
||||
equal( widgetElement.length, 1, "one element" );
|
||||
strictEqual( widgetElement[ 0 ], element[ 0 ], "same element" );
|
||||
});
|
||||
|
||||
}( jQuery ) );
|
||||
|
@ -1,3 +1,5 @@
|
||||
(function( $ ) {
|
||||
|
||||
module( "progressbar: options" );
|
||||
|
||||
test( "{ value: 0 }, default", function() {
|
||||
@ -70,3 +72,5 @@ test( "change max below value", function() {
|
||||
equal( $( "#progressbar" ).progressbar( "value" ), 5,
|
||||
"value constrained at max" );
|
||||
});
|
||||
|
||||
}( jQuery ) );
|
||||
|
Loading…
Reference in New Issue
Block a user