aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/effects.js
diff options
context:
space:
mode:
authorcjqed <christopherjonesqed@gmail.com>2013-12-24 11:35:41 -0500
committerOleg <markelog@gmail.com>2014-01-03 08:01:46 +0400
commit305eefe6abadbac021a84d031cb4649022657ac7 (patch)
treefc56314e6e1b888d87425171a46b4ebc3763ba7f /test/unit/effects.js
parent3140d3bdd3a520e98c5178b04eba68ce16dacf46 (diff)
downloadjquery-305eefe6abadbac021a84d031cb4649022657ac7.tar.gz
jquery-305eefe6abadbac021a84d031cb4649022657ac7.zip
Tests: Avoid use of QUnit.reset() in tests by splitting them
Closes gh-1470 Ref #1457
Diffstat (limited to 'test/unit/effects.js')
-rw-r--r--test/unit/effects.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/effects.js b/test/unit/effects.js
index 71193f6ef..0c1df48a8 100644
--- a/test/unit/effects.js
+++ b/test/unit/effects.js
@@ -124,7 +124,7 @@ test("show()", 27, function () {
test("show(Number) - other displays", function() {
expect(15);
- QUnit.reset();
+
stop();
// #show-tests * is set display: none in CSS
@@ -171,7 +171,7 @@ test("show(Number) - other displays", function() {
// Supports #7397
test("Persist correct display value", function() {
expect(3);
- QUnit.reset();
+
stop();
// #show-tests * is set display: none in CSS
@@ -1310,7 +1310,7 @@ test("animate with CSS shorthand properties", function(){
test("hide hidden elements, with animation (bug #7141)", function() {
expect(3);
- QUnit.reset();
+
stop();
var div = jQuery("<div style='display:none'></div>").appendTo("#qunit-fixture");