Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • TActual

  • TExpected

Hierarchy

Index

Constructors

constructor

Properties

expected

expected: TExpected

Methods

assert

  • assert(actual: TActual): void

Protected Abstract describe

  • describe(actual: TActual): string

Abstract test

  • test(actual: TActual): boolean

Static includes

  • includes(expected: string): Predicate<string>

Static is

  • is<TValue>(expected: TValue): Predicate<TValue>

Static isGreaterThan

  • isGreaterThan(expected: number): Predicate<number>

Static isGreaterThanOrEquals

  • isGreaterThanOrEquals(expected: number): Predicate<number>

Static isLessThan

  • isLessThan(expected: number): Predicate<number>

Static isLessThanOrEquals

  • isLessThanOrEquals(expected: number): Predicate<number>

Static isNot

  • isNot<TValue>(expected: TValue): Predicate<TValue>

Static matches

  • matches(expected: RegExp): Predicate<string>

Static notIncludes

  • notIncludes(expected: string): Predicate<string>

Static notMatches

  • notMatches(expected: RegExp): Predicate<string>