Commit 2baf7d4a authored by yann300's avatar yann300

fix linting

parent b6fe36fc
...@@ -2,7 +2,7 @@ import { NightwatchBrowser } from 'nightwatch' ...@@ -2,7 +2,7 @@ import { NightwatchBrowser } from 'nightwatch'
import EventEmitter from 'events' import EventEmitter from 'events'
class ClickElement extends EventEmitter { class ClickElement extends EventEmitter {
command (this: NightwatchBrowser, cssSelector: string, index = 0 , opt = { forceSelectIfUnselected: false }): NightwatchBrowser { command (this: NightwatchBrowser, cssSelector: string, index = 0, opt = { forceSelectIfUnselected: false }): NightwatchBrowser {
this.api.perform((done) => { this.api.perform((done) => {
_clickElement(this.api, cssSelector, index, opt.forceSelectIfUnselected, () => { _clickElement(this.api, cssSelector, index, opt.forceSelectIfUnselected, () => {
done() done()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment