Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jquery
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
jquery
Commits
f5ea5717
Commit
f5ea5717
authored
Feb 18, 2014
by
Oleg Gaidarenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build: Use jscs to check test helpers
Also fix issues found by jscs Conflicts: test/data/testrunner.js
parent
6cd81b88
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
Gruntfile.js
Gruntfile.js
+3
-0
testinit.js
test/data/testinit.js
+0
-1
testrunner.js
test/data/testrunner.js
+0
-1
No files found.
Gruntfile.js
View file @
f5ea5717
...
@@ -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
:
{
...
...
test/data/testinit.js
View file @
f5ea5717
...
@@ -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
()
{
...
...
test/data/testrunner.js
View file @
f5ea5717
...
@@ -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
*/
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment