Skip to content

Commit

Permalink
Skip leak check under FF
Browse files Browse the repository at this point in the history
  • Loading branch information
kpdecker committed Dec 23, 2013
1 parent 015eba6 commit 7f53c91
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@
<script src="/tmp/tests.js"></script>
<script>
onload = function(){
mocha.checkLeaks();
// The test harness leaks under FF. We should have decent global leak coverage from other tests
if (!navigator.userAgent.match(/Firefox\/([\d.]+)/)) {
mocha.checkLeaks();
}
mocha.run();
};
</script>
Expand Down

0 comments on commit 7f53c91

Please sign in to comment.