diff options
Diffstat (limited to 'spec/frontend/clusters_list/store/actions_spec.js')
-rw-r--r-- | spec/frontend/clusters_list/store/actions_spec.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/frontend/clusters_list/store/actions_spec.js b/spec/frontend/clusters_list/store/actions_spec.js index 3d4e07d00eb..6214cb50e13 100644 --- a/spec/frontend/clusters_list/store/actions_spec.js +++ b/spec/frontend/clusters_list/store/actions_spec.js @@ -24,7 +24,7 @@ describe('Clusters store actions', () => { captureException.mockRestore(); }); - it('should report sentry error', done => { + it('should report sentry error', (done) => { const sentryError = new Error('New Sentry Error'); const tag = 'sentryErrorTag'; @@ -62,7 +62,7 @@ describe('Clusters store actions', () => { afterEach(() => mock.restore()); - it('should commit SET_CLUSTERS_DATA with received response', done => { + it('should commit SET_CLUSTERS_DATA with received response', (done) => { mock.onGet().reply(200, apiData, headers); testAction( @@ -79,7 +79,7 @@ describe('Clusters store actions', () => { ); }); - it('should show flash on API error', done => { + it('should show flash on API error', (done) => { mock.onGet().reply(400, 'Not Found'); testAction( @@ -126,7 +126,7 @@ describe('Clusters store actions', () => { pollStop.mockRestore(); }); - it('should stop polling after MAX Requests', done => { + it('should stop polling after MAX Requests', (done) => { testAction( actions.fetchClusters, { endpoint: apiData.endpoint }, @@ -173,7 +173,7 @@ describe('Clusters store actions', () => { ); }); - it('should stop polling and report to Sentry when data is invalid', done => { + it('should stop polling and report to Sentry when data is invalid', (done) => { const badApiResponse = { clusters: {} }; mock.onGet().reply(200, badApiResponse, pollHeaders); |