From c7c4124b82a9ee0e4fc3428174919fdb604b8c9b Mon Sep 17 00:00:00 2001 From: Martin Brennan Date: Wed, 11 Dec 2019 19:00:37 +1000 Subject: [PATCH] Use sandbox.restore() to try improve bookmark-test --- test/javascripts/controllers/bookmark-test.js.es6 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/javascripts/controllers/bookmark-test.js.es6 b/test/javascripts/controllers/bookmark-test.js.es6 index acb9085f69f..d94d866125b 100644 --- a/test/javascripts/controllers/bookmark-test.js.es6 +++ b/test/javascripts/controllers/bookmark-test.js.es6 @@ -4,6 +4,10 @@ let BookmarkController; moduleFor("controller:bookmark", { beforeEach() { BookmarkController = this.subject({ currentUser: currentUser() }); + }, + + afterEach() { + sandbox.restore(); } });