diff --git a/Gruntfile.js b/Gruntfile.js index ea570f1fa..001a407d0 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -101,6 +101,9 @@ module.exports = function( grunt ) { jscs: { src: "src/**/*.js", gruntfile: "Gruntfile.js", + + // Right know, check only test helpers + test: [ "test/data/testrunner.js", "test/data/testinit.js" ], tasks: "build/tasks/*.js" }, testswarm: { diff --git a/test/data/testinit.js b/test/data/testinit.js index 2751f65cc..de03e0e7c 100644 --- a/test/data/testinit.js +++ b/test/data/testinit.js @@ -201,7 +201,6 @@ this.ajaxTest = function( title, expect, options ) { }); }; - this.testIframe = function( fileName, name, fn ) { asyncTest(name, function() { diff --git a/test/data/testrunner.js b/test/data/testrunner.js index ea7cf7d7a..4b8b255ae 100644 --- a/test/data/testrunner.js +++ b/test/data/testrunner.js @@ -124,7 +124,6 @@ window.moduleTeardown = function() { oldActive = jQuery.active; } - for ( i in jQuery.cache ) { ++cacheLength; }