diff options
Diffstat (limited to 'spec/javascripts/smart_interval_spec.js')
-rw-r--r-- | spec/javascripts/smart_interval_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/smart_interval_spec.js b/spec/javascripts/smart_interval_spec.js index 0f579bb32cc..0dc9ee9d79a 100644 --- a/spec/javascripts/smart_interval_spec.js +++ b/spec/javascripts/smart_interval_spec.js @@ -1,5 +1,5 @@ import $ from 'jquery'; -import _ from 'underscore'; +import { assignIn } from 'lodash'; import waitForPromises from 'spec/helpers/wait_for_promises'; import SmartInterval from '~/smart_interval'; @@ -21,7 +21,7 @@ describe('SmartInterval', function() { }; if (config) { - _.extend(defaultParams, config); + assignIn(defaultParams, config); } return new SmartInterval(defaultParams); |