diff options
Diffstat (limited to 'spec/frontend/monitoring/store/index_spec.js')
-rw-r--r-- | spec/frontend/monitoring/store/index_spec.js | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/spec/frontend/monitoring/store/index_spec.js b/spec/frontend/monitoring/store/index_spec.js deleted file mode 100644 index 4184687eec8..00000000000 --- a/spec/frontend/monitoring/store/index_spec.js +++ /dev/null @@ -1,23 +0,0 @@ -import { createStore } from '~/monitoring/stores'; - -describe('Monitoring Store Index', () => { - it('creates store with a `monitoringDashboard` namespace', () => { - expect(createStore().state).toEqual({ - monitoringDashboard: expect.any(Object), - }); - }); - - it('creates store with initial values', () => { - const defaults = { - deploymentsEndpoint: '/mock/deployments', - dashboardEndpoint: '/mock/dashboard', - dashboardsEndpoint: '/mock/dashboards', - }; - - const { state } = createStore(defaults); - - expect(state).toEqual({ - monitoringDashboard: expect.objectContaining(defaults), - }); - }); -}); |