Skip to content

Commit 8e541f1

Browse files
committed
Tests: Remove the need to include the 'ui.' prefix in testJshint() now that effects use 'ui.'.
1 parent e79c79d commit 8e541f1

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

tests/unit/core/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module( "core - jQuery extensions" );
44

5-
TestHelpers.testJshint( "ui.core" );
5+
TestHelpers.testJshint( "core" );
66

77
test( "focus - original functionality", function() {
88
expect( 1 );

tests/unit/effects/effects_core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ $.each( $.effects.effect, function( effect ) {
174174

175175
// puff and size are defined inside scale
176176
if ( effect !== "puff" && effect !== "size" ) {
177-
TestHelpers.testJshint( "ui.effect-" + effect );
177+
TestHelpers.testJshint( "effect-" + effect );
178178
}
179179

180180
if ( effect === "transfer" ) {

tests/unit/position/position_core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module( "position", {
1616
}
1717
});
1818

19-
TestHelpers.testJshint( "ui.position" );
19+
TestHelpers.testJshint( "position" );
2020

2121
test( "my, at, of", function() {
2222
expect( 4 );

tests/unit/testsuite.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ TestHelpers.testJshint = function( module ) {
4747
dataType: "json"
4848
}),
4949
$.ajax({
50-
url: "../../../ui/jquery." + module + ".js",
50+
url: "../../../ui/jquery.ui." + module + ".js",
5151
dataType: "text"
5252
})
5353
).done(function( hintArgs, srcArgs ) {
@@ -126,7 +126,7 @@ function testBasicUsage( widget ) {
126126
TestHelpers.commonWidgetTests = function( widget, settings ) {
127127
module( widget + ": common widget" );
128128

129-
TestHelpers.testJshint( "ui." + widget );
129+
TestHelpers.testJshint( widget );
130130
testWidgetDefaults( widget, settings.defaults );
131131
testWidgetOverrides( widget );
132132
testBasicUsage( widget );

tests/unit/widget/widget_core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module( "widget factory", {
88
}
99
});
1010

11-
TestHelpers.testJshint( "ui.widget" );
11+
TestHelpers.testJshint( "widget" );
1212

1313
test( "widget creation", function() {
1414
var myPrototype = {

0 commit comments

Comments
 (0)