[Pkg-javascript-commits] [backbone] 163/173: Remove test elements after insterting to fix failing global tests

Jonas Smedegaard dr at jones.dk
Wed Aug 31 07:44:16 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository backbone.

commit 788dc910702ac6baea95005385951b95f3eec236
Author: Adam Krebs <amk528 at cs.nyu.edu>
Date:   Tue Mar 29 14:55:41 2016 -0400

    Remove test elements after insterting to fix failing global tests
---
 test/view.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/test/view.js b/test/view.js
index 9a34454..faf3445 100644
--- a/test/view.js
+++ b/test/view.js
@@ -14,6 +14,11 @@
         className: 'test-view',
         other: 'non-special-option'
       });
+    },
+
+    afterEach: function() {
+      $('#testElement').remove();
+      $('#test-view').remove();
     }
 
   });

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/backbone.git



More information about the Pkg-javascript-commits mailing list