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
b407bdde
Commit
b407bdde
authored
Apr 25, 2013
by
John Paul
Committed by
Dave Methvin
Nov 24, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Effects: Integrate sinon fake timers into tests. Close gh-1377.
parent
dc649a33
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
211 additions
and
291 deletions
+211
-291
bower.json
bower.json
+5
-1
.jshintrc
test/.jshintrc
+1
-0
index.html
test/index.html
+1
-0
effects.js
test/unit/effects.js
+204
-290
No files found.
bower.json
View file @
b407bdde
...
@@ -17,7 +17,8 @@
...
@@ -17,7 +17,8 @@
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"requirejs"
:
"~2.1.8"
,
"requirejs"
:
"~2.1.8"
,
"qunit"
:
"~1.12.0"
"qunit"
:
"~1.12.0"
,
"sinon"
:
"~1.7.3"
},
},
"exportsOverride"
:
{
"exportsOverride"
:
{
"sizzle"
:
{
"sizzle"
:
{
...
@@ -29,6 +30,9 @@
...
@@ -29,6 +30,9 @@
},
},
"qunit"
:
{
"qunit"
:
{
"qunit"
:
"qunit"
"qunit"
:
"qunit"
},
"sinon"
:
{
"sinon"
:
"**/*.js"
}
}
},
},
"keywords"
:
[
"keywords"
:
[
...
...
test/.jshintrc
View file @
b407bdde
...
@@ -49,6 +49,7 @@
...
@@ -49,6 +49,7 @@
"q": false,
"q": false,
"jQuery": true,
"jQuery": true,
"sinon": true,
"module": true,
"module": true,
"test": true,
"test": true,
"amdDefined": true,
"amdDefined": true,
...
...
test/index.html
View file @
b407bdde
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
<script
src=
"../bower_modules/qunit/qunit.js"
></script>
<script
src=
"../bower_modules/qunit/qunit.js"
></script>
<script
src=
"../bower_modules/requirejs/require.js"
></script>
<script
src=
"../bower_modules/requirejs/require.js"
></script>
<script
src=
"../bower_modules/sinon/fake_timers.js"
></script>
<!-- See testinit for the list of tests -->
<!-- See testinit for the list of tests -->
<script
src=
"data/testinit.js"
></script>
<script
src=
"data/testinit.js"
></script>
...
...
test/unit/effects.js
View file @
b407bdde
This diff is collapsed.
Click to expand it.
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