diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-02-08 10:28:45 -0600 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-02-08 10:28:45 -0600 |
commit | 9a074366e5aad8c7dc93ecb974609698c7e60e18 (patch) | |
tree | 6a696879e07558f8d91ecdee2a30cb65bb6fc90c /spec/javascripts | |
parent | 11d33873a8da5f90fd00bf0909dd1e9f8fca1448 (diff) | |
download | gitlab-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.es6 | 3 |
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); }); |