diff options
author | Oleg Gaidarenko <markelog@gmail.com> | 2014-02-18 20:32:17 +0400 |
---|---|---|
committer | Oleg Gaidarenko <markelog@gmail.com> | 2014-04-15 17:46:25 +0400 |
commit | f5ea571753a69ff633152ca996f3c6eaedc08347 (patch) | |
tree | 77129d991283e567bf8c735a921e3ce99879585c | |
parent | 6cd81b88022bbf04f57a04d504d026a6a50f4438 (diff) | |
download | jquery-f5ea571753a69ff633152ca996f3c6eaedc08347.tar.gz jquery-f5ea571753a69ff633152ca996f3c6eaedc08347.zip |
Build: Use jscs to check test helpers
Also fix issues found by jscs
Conflicts:
test/data/testrunner.js
-rw-r--r-- | Gruntfile.js | 3 | ||||
-rw-r--r-- | test/data/testinit.js | 1 | ||||
-rw-r--r-- | test/data/testrunner.js | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 9407c9203..05eafcaa6 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -100,6 +100,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 06f33d19b..5901b57e4 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 0f741fa9d..1bebb1363 100644 --- a/test/data/testrunner.js +++ b/test/data/testrunner.js @@ -14,7 +14,6 @@ var qunitModule = QUnit.module, reset, ajaxSettings = jQuery.ajaxSettings; - /** * QUnit configuration */ |