diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2019-09-12 09:34:12 +0000 |
---|---|---|
committer | Kushal Pandya <kushalspandya@gmail.com> | 2019-09-12 09:34:12 +0000 |
commit | 1aba56b2ffc2b504ee750929b97dd92f876083f4 (patch) | |
tree | 0c98376b1c15859c0a82033516c0dad10caec029 /spec/javascripts/jobs/store/actions_spec.js | |
parent | 10c440c1e6aab0748d31f247d6a7ef936c81aaab (diff) | |
download | gitlab-ce-1aba56b2ffc2b504ee750929b97dd92f876083f4.tar.gz |
Creates job log component
Creates vue and vuex support for new job log
Creates the new log.vue component to handle the
new format
Updates the store to use the new parser
Creates an utility function to handle the
incremental log
Diffstat (limited to 'spec/javascripts/jobs/store/actions_spec.js')
-rw-r--r-- | spec/javascripts/jobs/store/actions_spec.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/spec/javascripts/jobs/store/actions_spec.js b/spec/javascripts/jobs/store/actions_spec.js index 7b96df85b82..91d1942bdbf 100644 --- a/spec/javascripts/jobs/store/actions_spec.js +++ b/spec/javascripts/jobs/store/actions_spec.js @@ -16,6 +16,7 @@ import { stopPollingTrace, receiveTraceSuccess, receiveTraceError, + toggleCollapsibleLine, requestJobsForStage, fetchJobsForStage, receiveJobsForStageSuccess, @@ -303,6 +304,19 @@ describe('Job State actions', () => { }); }); + describe('toggleCollapsibleLine', () => { + it('should commit TOGGLE_COLLAPSIBLE_LINE mutation ', done => { + testAction( + toggleCollapsibleLine, + { isClosed: true }, + mockedState, + [{ type: types.TOGGLE_COLLAPSIBLE_LINE, payload: { isClosed: true } }], + [], + done, + ); + }); + }); + describe('requestJobsForStage', () => { it('should commit REQUEST_JOBS_FOR_STAGE mutation ', done => { testAction( |