From f5ea571753a69ff633152ca996f3c6eaedc08347 Mon Sep 17 00:00:00 2001 From: Oleg Gaidarenko Date: Tue, 18 Feb 2014 20:32:17 +0400 Subject: [PATCH] Build: Use jscs to check test helpers Also fix issues found by jscs Conflicts: test/data/testrunner.js --- Gruntfile.js | 3 +++ test/data/testinit.js | 1 - 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 */ -- 2.39.5