diff options
author | Garren Smith <garren.smith@gmail.com> | 2013-08-29 21:48:43 +0200 |
---|---|---|
committer | Garren Smith <garren.smith@gmail.com> | 2013-08-29 21:48:43 +0200 |
commit | ae17b8c3a38247f14bf1427862233fec03065a8f (patch) | |
tree | 042f1bf94ef81309fbc0a1690502e2851118dc3f | |
parent | 64ac2d60f6788a8e39a45f5ca69761a1b8677684 (diff) | |
download | couchdb-ae17b8c3a38247f14bf1427862233fec03065a8f.tar.gz |
Fauxton: View test sandbox renders to DOM in hidden div
-rw-r--r-- | src/fauxton/test/mocha/testUtils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fauxton/test/mocha/testUtils.js b/src/fauxton/test/mocha/testUtils.js index 3eb111830..f9643e8df 100644 --- a/src/fauxton/test/mocha/testUtils.js +++ b/src/fauxton/test/mocha/testUtils.js @@ -24,7 +24,7 @@ function(chai, sinonChai) { _.extend(ViewSandbox.prototype, { initialize: function () { - this.$el = $('<div></div>'); + this.$el = $('<div style="display:none"></div>').appendTo('body'); this.$ = this.$el.find; }, views: [], |