Fixed linting error

pull/5370/head
ioedeveloper 5 years ago committed by yann300
parent cc6abca223
commit c39cc2c67b
  1. 2
      test-browser/commands/editorScroll.js

@ -6,7 +6,7 @@ class ScrollEditor extends EventEmitter {
const browser = this.api
browser.waitForElementPresent('.ace_text-input')
for (let i=0; i<numberOfTimes; i++){
for (let i = 0; i < numberOfTimes; i++) {
if (direction.toLowerCase() === 'up') browser.sendKeys('.ace_text-input', browser.Keys.ARROW_UP)
if (direction.toLowerCase() === 'down') browser.sendKeys('.ace_text-input', browser.Keys.ARROW_DOWN)
}

Loading…
Cancel
Save