From c927e95c2c75b042ec86d60df739ffb90529ed41 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Tue, 25 Nov 2014 14:53:48 -0800 Subject: [PATCH] Suppress deprecations on pane-view MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s going away anyway… --- spec/pane-view-spec.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/pane-view-spec.coffee b/spec/pane-view-spec.coffee index 415f430ad..edbc17e0c 100644 --- a/spec/pane-view-spec.coffee +++ b/spec/pane-view-spec.coffee @@ -24,6 +24,8 @@ describe "PaneView", -> onDidChangeModified: -> new Disposable(->) beforeEach -> + jasmine.snapshotDeprecations() + deserializerDisposable = atom.deserializers.add(TestView) container = atom.views.getView(new PaneContainer).__spacePenView containerModel = container.model @@ -42,6 +44,7 @@ describe "PaneView", -> afterEach -> deserializerDisposable.dispose() + jasmine.restoreDeprecationsSnapshot() describe "when the active pane item changes", -> it "hides all item views except the active one", ->