biome format --write
This commit is contained in:
parent
8372348148
commit
9262e803ec
415 changed files with 54076 additions and 17419 deletions
|
|
@ -17,10 +17,14 @@ exports.assertion = function (selector, count) {
|
|||
}
|
||||
this.command = function (cb) {
|
||||
const self = this
|
||||
return this.api.execute(function (selector) {
|
||||
return document.querySelectorAll(selector).length
|
||||
}, [selector], function (res) {
|
||||
cb.call(self, res)
|
||||
})
|
||||
return this.api.execute(
|
||||
function (selector) {
|
||||
return document.querySelectorAll(selector).length
|
||||
},
|
||||
[selector],
|
||||
function (res) {
|
||||
cb.call(self, res)
|
||||
},
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue