diff --git a/test/javascripts/components/d-editor-test.js.es6 b/test/javascripts/components/d-editor-test.js.es6 index f8e10371326..1a594cd2dae 100644 --- a/test/javascripts/components/d-editor-test.js.es6 +++ b/test/javascripts/components/d-editor-test.js.es6 @@ -760,7 +760,7 @@ componentTest('emoji', { } }); -testCase("replace-text event", function(assert, textarea) { +testCase("replace-text event", function(assert) { this.set('value', "red green blue"); @@ -831,7 +831,7 @@ testCase("replace-text event", function(assert, textarea) { function getSelection(textarea) { const start = textarea.selectionStart; - const end = textarea.selectionEnd + const end = textarea.selectionEnd; return [start, end - start]; }