Effects: Integrate sinon fake timers into tests. Close gh-1377.

This commit is contained in:
John Paul 2013-04-25 09:11:53 -04:00 committed by Dave Methvin
parent dc649a33e0
commit b407bddea2
4 changed files with 210 additions and 290 deletions

View File

@ -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 @@
}, },
"qunit": { "qunit": {
"qunit": "qunit" "qunit": "qunit"
},
"sinon": {
"sinon": "**/*.js"
} }
}, },
"keywords": [ "keywords": [

View File

@ -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,

View File

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

492
test/unit/effects.js vendored

File diff suppressed because it is too large Load Diff