summaryrefslogtreecommitdiff
path: root/spec/javascripts
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-02-08 10:28:45 -0600
committerMike Greiling <mike@pixelcog.com>2017-02-08 10:28:45 -0600
commit9a074366e5aad8c7dc93ecb974609698c7e60e18 (patch)
tree6a696879e07558f8d91ecdee2a30cb65bb6fc90c /spec/javascripts
parent11d33873a8da5f90fd00bf0909dd1e9f8fca1448 (diff)
downloadgitlab-ce-9a074366e5aad8c7dc93ecb974609698c7e60e18.tar.gz
backport fixes for pipelines_store frontend specsbackport-ee-build-fixes
Diffstat (limited to 'spec/javascripts')
-rw-r--r--spec/javascripts/commit/pipelines/pipelines_store_spec.js.es63
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/javascripts/commit/pipelines/pipelines_store_spec.js.es6 b/spec/javascripts/commit/pipelines/pipelines_store_spec.js.es6
index 559723bafcc..789f5dc9f49 100644
--- a/spec/javascripts/commit/pipelines/pipelines_store_spec.js.es6
+++ b/spec/javascripts/commit/pipelines/pipelines_store_spec.js.es6
@@ -7,6 +7,9 @@ describe('Store', () => {
store = new gl.commits.pipelines.PipelinesStore();
});
+ // unregister intervals and event handlers
+ afterEach(() => gl.VueRealtimeListener.reset());
+
it('should start with a blank state', () => {
expect(store.state.pipelines.length).toBe(0);
});