Dynamic module assert

Index

Functions

Functions

internal(booleanValue: boolean, message?: string)

Parameters

  • booleanValue: boolean
  • message?: string optional

assert(value: any, message: string)

Parameters

  • value: any
  • message: string

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

Parameters

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

doesNotThrow(block: any, error?: any, messsage?: string)

Parameters

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

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

Parameters

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

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

Parameters

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

ifError(value: any)

Parameters

  • value: any

notDeepEqual(acutal: any, expected: any, message?: string)

Parameters

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

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

Parameters

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

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

Parameters

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

ok(value: any, message?: string)

Parameters

  • value: any
  • message?: string optional

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

Parameters

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

throws(block: any, error?: any, messsage?: string)

Parameters

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