Interface IMockStatic

Index

Methods

Methods

public TzDate(offset: number, timestamp: number): Date

Parameters

  • offset: number
  • timestamp: number

Returns

Date

public TzDate(offset: number, timestamp: string): Date

Parameters

  • offset: number
  • timestamp: string

Returns

Date

public dump(obj: any): string

Parameters

  • obj: any

Returns

string

public inject(fns?: Array<Function>): any

Parameters

  • fns?: Array<Function> optional

Returns

any

public inject(inlineAnnotatedConstructor?: Array<any>): any

Parameters

  • inlineAnnotatedConstructor?: Array<any> optional

Returns

any

public module(modules?: Array<string>): any

Parameters

  • modules?: Array<string> optional

Returns

any

public module(modules?: Array<Function>): any

Parameters

  • modules?: Array<Function> optional

Returns

any

public module(modules: Object): any

Parameters

  • modules: Object

Returns

any