diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-08-03 11:39:56 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-08-03 11:39:56 +0300 |
commit | 8e8cc85c3ea8d4232756cc8222c535e966b6087d (patch) | |
tree | dbf0150aef171c495c485b62f398d94ed904481f /spec | |
parent | 02bf0639b4ba0dd73079dd129aebfd01180f6faf (diff) |
Remove frontend changes
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/reports/store/actions_spec.js | 4 | ||||
-rw-r--r-- | spec/javascripts/reports/store/mutations_spec.js | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/spec/javascripts/reports/store/actions_spec.js b/spec/javascripts/reports/store/actions_spec.js index f023584d223..c714c5af156 100644 --- a/spec/javascripts/reports/store/actions_spec.js +++ b/spec/javascripts/reports/store/actions_spec.js @@ -56,9 +56,7 @@ describe('Reports Store Actions', () => { describe('success', () => { it('dispatches requestReports and receiveReportsSuccess ', done => { - mock - .onGet(`${TEST_HOST}/endpoint.json`) - .replyOnce(200, { summary: {}, suites: [{ name: 'rspec' }] }); + mock.onGet(`${TEST_HOST}/endpoint.json`).replyOnce(200, { summary: {}, suites: [{ name: 'rspec' }] }); testAction( fetchReports, diff --git a/spec/javascripts/reports/store/mutations_spec.js b/spec/javascripts/reports/store/mutations_spec.js index 819369b44b7..3e0b15438c3 100644 --- a/spec/javascripts/reports/store/mutations_spec.js +++ b/spec/javascripts/reports/store/mutations_spec.js @@ -96,5 +96,6 @@ describe('Reports Store Mutations', () => { it('should set hasError to true', () => { expect(stateCopy.hasError).toEqual(true); }); + }); }); |