Commit f5ea5717 authored by Oleg Gaidarenko's avatar Oleg Gaidarenko

Build: Use jscs to check test helpers

Also fix issues found by jscs

Conflicts:
	test/data/testrunner.js
parent 6cd81b88
...@@ -100,6 +100,9 @@ module.exports = function( grunt ) { ...@@ -100,6 +100,9 @@ module.exports = function( grunt ) {
jscs: { jscs: {
src: "src/**/*.js", src: "src/**/*.js",
gruntfile: "Gruntfile.js", gruntfile: "Gruntfile.js",
// Right know, check only test helpers
test: [ "test/data/testrunner.js", "test/data/testinit.js" ],
tasks: "build/tasks/*.js" tasks: "build/tasks/*.js"
}, },
testswarm: { testswarm: {
......
...@@ -201,7 +201,6 @@ this.ajaxTest = function( title, expect, options ) { ...@@ -201,7 +201,6 @@ this.ajaxTest = function( title, expect, options ) {
}); });
}; };
this.testIframe = function( fileName, name, fn ) { this.testIframe = function( fileName, name, fn ) {
asyncTest(name, function() { asyncTest(name, function() {
......
...@@ -14,7 +14,6 @@ var qunitModule = QUnit.module, ...@@ -14,7 +14,6 @@ var qunitModule = QUnit.module,
reset, reset,
ajaxSettings = jQuery.ajaxSettings; ajaxSettings = jQuery.ajaxSettings;
/** /**
* QUnit configuration * QUnit configuration
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment