Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • TValue

  • TExpected

Hierarchy

  • IsNot<TValue>
    • JestIsNot

Index

Constructors

constructor

  • new JestIsNot(expected: TExpected): JestIsNot

Properties

expected

expected: TExpected

Methods

assert

  • assert(actual: TValue): void

Protected describe

  • describe(actual: TValue): string

test

  • test(actual: TValue): 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>