diff options
Diffstat (limited to 'spec/frontend/pipelines/pipelines_spec.js')
-rw-r--r-- | spec/frontend/pipelines/pipelines_spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/frontend/pipelines/pipelines_spec.js b/spec/frontend/pipelines/pipelines_spec.js index 40c493e3aa5..e46b9c7c817 100644 --- a/spec/frontend/pipelines/pipelines_spec.js +++ b/spec/frontend/pipelines/pipelines_spec.js @@ -601,7 +601,7 @@ describe('Pipelines', () => { describe('updates results when a staged is clicked', () => { beforeEach(() => { - const copyPipeline = Object.assign({}, pipelineWithStages); + const copyPipeline = { ...pipelineWithStages }; copyPipeline.id += 1; mock .onGet('twitter/flight/pipelines.json') |