Fixed linting error

pull/5370/head
ioedeveloper 5 years ago committed by yann300
parent cc6abca223
commit c39cc2c67b
  1. 2
      test-browser/commands/editorScroll.js
  2. 4
      test-browser/tests/editor.test.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)
}

@ -147,5 +147,5 @@ const sourcehighlightScript = {
console.log(e.message)
}
})()
`
}
`
}

Loading…
Cancel
Save