Effects: Integrate sinon fake timers into tests

(cherry picked from commit b407bddea2)

Closes gh-1377
This commit is contained in:
John Paul 2013-04-25 09:11:53 -04:00 committed by Dave Methvin
parent eb827097b8
commit 2d6da2da6c
4 changed files with 210 additions and 286 deletions

View File

@ -17,7 +17,13 @@
},
"devDependencies": {
"requirejs": "~2.1.8",
"qunit": "~1.12.0"
"qunit": "~1.12.0",
"sinon": "~1.7.3"
},
},
"sinon": {
"sinon": "**/*.js"
}
},
"keywords": [
"jquery",

View File

@ -50,6 +50,7 @@
"q": false,
"jQuery": true,
"sinon": true,
"module": true,
"test": true,
"amdDefined": true,

View File

@ -17,6 +17,7 @@
<script src="libs/qunit/qunit.js"></script>
<script src="libs/require.js"></script>
<script src="../bower_modules/sinon/fake_timers.js"></script>
<!-- See testinit for the list of tests -->
<script src="data/testinit.js"></script>

486
test/unit/effects.js vendored

File diff suppressed because it is too large Load Diff