summaryrefslogtreecommitdiff
path: root/spec/frontend/jobs/store/mutations_spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/jobs/store/mutations_spec.js')
-rw-r--r--spec/frontend/jobs/store/mutations_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/frontend/jobs/store/mutations_spec.js b/spec/frontend/jobs/store/mutations_spec.js
index d77690ffac0..3557d3b94b6 100644
--- a/spec/frontend/jobs/store/mutations_spec.js
+++ b/spec/frontend/jobs/store/mutations_spec.js
@@ -59,7 +59,7 @@ describe('Jobs Store Mutations', () => {
describe('when traceSize is bigger than the total size', () => {
it('sets isTraceSizeVisible to false', () => {
- const copy = Object.assign({}, stateCopy, { traceSize: 5118460, size: 2321312 });
+ const copy = { ...stateCopy, traceSize: 5118460, size: 2321312 };
mutations[types.RECEIVE_TRACE_SUCCESS](copy, { total: 511846 });