Commit b407bdde authored by John Paul's avatar John Paul Committed by Dave Methvin

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

parent dc649a33
...@@ -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": [
......
...@@ -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,
......
...@@ -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>
......
This diff is collapsed.
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