Skip to content

Commit 30e080e

Browse files
author
DavertMik
committed
fixed test
1 parent 48d2faf commit 30e080e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/unit/WebElement_test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ describe('WebElement', () => {
307307
it('should work with Puppeteer helper', async () => {
308308
let typedText = ''
309309
const mockElement = {
310+
evaluate: (fn) => Promise.resolve(fn({ value: '' })),
310311
type: (text, options) => {
311312
typedText = text
312313
return Promise.resolve()

0 commit comments

Comments
 (0)