Interface Test

Index

Properties

Methods

Properties

public done: ICallbackFunction

Methods

public assert(value: any, message: string)

Parameters

  • value: any
  • message: string

public deepEqual(actual: any, expected: any, message?: string)

Parameters

  • actual: any
  • expected: any
  • message?: string optional

public doesNotThrow(block: any, error?: any, message?: string)

Parameters

  • block: any
  • error?: any optional
  • message?: string optional

public equal(actual: any, expected: any, message?: string)

Parameters

  • actual: any
  • expected: any
  • message?: string optional

public equals(actual: any, expected: any, message?: string)

Parameters

  • actual: any
  • expected: any
  • message?: string optional

public expect(num: number)

Parameters

  • num: number

public fail(actual: any, expected: any, message: string, operator: string)

Parameters

  • actual: any
  • expected: any
  • message: string
  • operator: string

public ifError(value: any)

Parameters

  • value: any

public notDeepEqual(actual: any, expected: any, message?: string)

Parameters

  • actual: any
  • expected: any
  • message?: string optional

public notEqual(actual: any, expected: any, message?: string)

Parameters

  • actual: any
  • expected: any
  • message?: string optional

public notStrictEqual(actual: any, expected: any, message?: string)

Parameters

  • actual: any
  • expected: any
  • message?: string optional

public ok(value: any, message?: string)

Parameters

  • value: any
  • message?: string optional

public same(actual: any, expected: any, message?: string)

Parameters

  • actual: any
  • expected: any
  • message?: string optional

public strictEqual(actual: any, expected: any, message?: string)

Parameters

  • actual: any
  • expected: any
  • message?: string optional

public throws(block: any, error?: any, message?: string)

Parameters

  • block: any
  • error?: any optional
  • message?: string optional