From 9fb04e42a24263a88dc3adf1b9ce6a199309b24c Mon Sep 17 00:00:00 2001 From: Scott González Date: Mon, 6 Apr 2015 10:56:48 -0400 Subject: Core: Convert tests to new infrastructure Ref #10119 Ref gh-1528 --- tests/unit/core/core.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'tests/unit/core/core.js') diff --git a/tests/unit/core/core.js b/tests/unit/core/core.js index a0d0a2de1..e50826e4d 100644 --- a/tests/unit/core/core.js +++ b/tests/unit/core/core.js @@ -1,8 +1,12 @@ -(function( $ ) { +define( [ + "jquery", + "lib/common", + "ui/core" +], function( $, common ) { module( "core - jQuery extensions" ); -TestHelpers.testJshint( "core" ); +common.testJshint( "core" ); test( "innerWidth - getter", function() { expect( 2 ); @@ -134,4 +138,4 @@ test( "uniqueId / removeUniqueId", function() { equal( el.attr( "id" ), null, "unique id has been removed from element" ); }); -})( jQuery ); +} ); -- cgit v1.2.3