Options
All
  • Public
  • Public/Protected
  • All
Menu

Module expect/jest.matcher.function

Index

Variables

Variables

Const jestMatchers

jestMatchers: { toBeAt: (received: MouseClass, position: Point) => Promise<{ message: () => string; pass: boolean }>; toBeIn: (received: MouseClass, region: Region) => Promise<{ message: () => string; pass: boolean }>; toShow: (received: ScreenClass, needle: Image | Promise<Image>, confidence?: number) => Promise<{ message: () => string; pass: boolean }> } = ...

Type declaration

  • toBeAt: (received: MouseClass, position: Point) => Promise<{ message: () => string; pass: boolean }>
      • (received: MouseClass, position: Point): Promise<{ message: () => string; pass: boolean }>
      • Parameters

        Returns Promise<{ message: () => string; pass: boolean }>

  • toBeIn: (received: MouseClass, region: Region) => Promise<{ message: () => string; pass: boolean }>
      • (received: MouseClass, region: Region): Promise<{ message: () => string; pass: boolean }>
      • Parameters

        Returns Promise<{ message: () => string; pass: boolean }>

  • toShow: (received: ScreenClass, needle: Image | Promise<Image>, confidence?: number) => Promise<{ message: () => string; pass: boolean }>
      • (received: ScreenClass, needle: Image | Promise<Image>, confidence?: number): Promise<{ message: () => string; pass: boolean }>
      • Parameters

        Returns Promise<{ message: () => string; pass: boolean }>