Closed Searcher865 closed 2 years ago
Hi @Searcher865, do you still need help?
If you use async mode you have to give an await to the browser object.
Try: await expect(await browser.checkScreen('examplePaged', { / some options / })).toEqual(0);
Does this help? BR Fabian Schmider
@opensourcesensor yes. Thank you.
Environment (please complete the following information):
Describe the bug Cannot find name 'expect'
To Reproduce tsconfig: Add "wdio-image-comparison-service" for "types" run npm test
[Include code or an example repository that can easily be set up]
Expected behavior Clear compilation
Log
example.ts
tsconfig.json