Skip to main content

ExpectAssertionObject

Index

Properties

toBe

toBe: (anyValue: unknown) => void

toBeGreaterThan

toBeGreaterThan: (anyValue: any) => void

toBeLessThan

toBeLessThan: (anyValue: any) => void

Methods

toEqual

  • toEqual(expected: unknown): void

toHaveProperty

  • toHaveProperty(property: string | (string | number)[], value: unknown): void

toThrow

  • toThrow(error: unknown): void