UNPKG
wdio-ocr-service
Version:
latest (1.1.3)
next (0.0.1-1)
1.1.3
1.1.2
1.1.1
1.1.0
1.0.0
0.1.0
0.0.1-1
0.0.1-0
A WebdriverIO service that is using Tesseract OCR for Appium Native App tests.
wdio-ocr-service
/
src
/
__tests__
/
setupJest.ts
9 lines
(7 loc)
•
182 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
import
{ toMatchSnapshot }
from
'jest-snapshot'
expect.
extend
({
toHaveBeenCalledWithSnapshot
(
received
) {
// @ts-ignore
return
toMatchSnapshot.
call
(
this
, received) }, })