Build: Use jscs to check test helpers

Also fix issues found by jscs

Conflicts:
	test/data/testrunner.js
This commit is contained in:
Oleg Gaidarenko 2014-02-18 20:32:17 +04:00
parent 6cd81b8802
commit f5ea571753
3 changed files with 3 additions and 2 deletions

View File

@ -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: {

View File

@ -201,7 +201,6 @@ this.ajaxTest = function( title, expect, options ) {
});
};
this.testIframe = function( fileName, name, fn ) {
asyncTest(name, function() {

View File

@ -14,7 +14,6 @@ var qunitModule = QUnit.module,
reset,
ajaxSettings = jQuery.ajaxSettings;
/**
* QUnit configuration
*/