diff options
author | gfyoung <gfyoung17@gmail.com> | 2018-06-13 23:18:05 -0700 |
---|---|---|
committer | gfyoung <gfyoung17@gmail.com> | 2018-06-15 13:08:47 -0700 |
commit | dbc74800e22c9ea417d30fd4c357d6154cc71870 (patch) | |
tree | f704225b4ce0d922047b5eb83a258ca2e69e3a7a /spec/javascripts/profile | |
parent | 102db0aaf162ec122d79e1aaff0f5ac3c86af373 (diff) | |
download | gitlab-ce-dbc74800e22c9ea417d30fd4c357d6154cc71870.tar.gz |
Enable no-multi-assignment in JS files
Partially addresses #47006.
Diffstat (limited to 'spec/javascripts/profile')
-rw-r--r-- | spec/javascripts/profile/account/components/update_username_spec.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/javascripts/profile/account/components/update_username_spec.js b/spec/javascripts/profile/account/components/update_username_spec.js index bac306edf5a..5311499fb73 100644 --- a/spec/javascripts/profile/account/components/update_username_spec.js +++ b/spec/javascripts/profile/account/components/update_username_spec.js @@ -90,7 +90,8 @@ describe('UpdateUsername component', () => { it('confirmation modal should escape usernames properly', done => { const { modalBody } = findElements(); - vm.username = vm.newUsername = '<i>Italic</i>'; + vm.username = '<i>Italic</i>'; + vm.newUsername = vm.username; Vue.nextTick() .then(() => { |