From 7af59740f91c07d66f15b4b3aa5f68348fbe0ff8 Mon Sep 17 00:00:00 2001 From: zzmp Date: Wed, 17 Sep 2014 14:23:26 -0700 Subject: [PATCH] add teardown to test(L1457) --- tests/mithril-tests.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/mithril-tests.js b/tests/mithril-tests.js index 32a1b704..a6e9b42e 100644 --- a/tests/mithril-tests.js +++ b/tests/mithril-tests.js @@ -1454,6 +1454,7 @@ function testMithril(mock) { } }) root.childNodes[0].onclick({}) + mock.requestAnimationFrame.$resolve() //teardown return strategy == "diff" && root.childNodes[0].childNodes[0].nodeValue == "1" }) test(function() {