Skip to content

Commit 9a28197

Browse files
committed
Tests: Fix missing wrappers in progressbar tests
1 parent 60c00cd commit 9a28197

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

tests/unit/progressbar/progressbar_core.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
(function( $ ) {
2+
13
module( "progressbar: core" );
24

35
test( "markup structure", function() {
@@ -51,3 +53,5 @@ test( "accessibility", function() {
5153
equal( element.attr( "aria-valuemax" ), 150, "aria-valuemax" );
5254
strictEqual( element.attr( "aria-valuenow" ), undefined, "aria-valuenow" );
5355
});
56+
57+
}( jQuery ) );

tests/unit/progressbar/progressbar_events.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
(function( $ ) {
2+
13
module( "progressbar: events" );
24

35
test( "create", function() {
@@ -49,3 +51,5 @@ test( "complete", function() {
4951
value = 100;
5052
element.progressbar( "value", value );
5153
});
54+
55+
}( jQuery ) );

tests/unit/progressbar/progressbar_methods.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
(function( $ ) {
2+
13
module( "progressbar: methods" );
24

35
test( "destroy", function() {
@@ -33,3 +35,5 @@ test( "widget", function() {
3335
equal( widgetElement.length, 1, "one element" );
3436
strictEqual( widgetElement[ 0 ], element[ 0 ], "same element" );
3537
});
38+
39+
}( jQuery ) );

tests/unit/progressbar/progressbar_options.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
(function( $ ) {
2+
13
module( "progressbar: options" );
24

35
test( "{ value: 0 }, default", function() {
@@ -70,3 +72,5 @@ test( "change max below value", function() {
7072
equal( $( "#progressbar" ).progressbar( "value" ), 5,
7173
"value constrained at max" );
7274
});
75+
76+
}( jQuery ) );

0 commit comments

Comments
 (0)