mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Effects: Integrate sinon fake timers into tests. Close gh-1377.
This commit is contained in:
parent
dc649a33e0
commit
b407bddea2
@ -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": [
|
||||||
|
@ -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 @@
|
|||||||
|
|
||||||
<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
492
test/unit/effects.js
vendored
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user