Options
All
  • Public
  • Public/Protected
  • All
Menu

timestamp-nano

Index

Type aliases

BufferEncoding

BufferEncoding: "ascii" | "utf8" | "utf16le" | "ucs2" | "base64" | "latin1" | "binary" | "hex"

Variables

SlowBuffer

SlowBuffer: object

Type declaration

  • constructor: function
    • new __type(str: string, encoding?: string): Buffer
    • new __type(size: number): Buffer
    • new __type(size: Uint8Array): Buffer
    • new __type(array: any[]): Buffer
    • Parameters

      • str: string
      • Optional encoding: string

      Returns Buffer

    • Parameters

      • size: number

      Returns Buffer

    • Parameters

      • size: Uint8Array

      Returns Buffer

    • Parameters

      • array: any[]

      Returns Buffer

  • prototype: Buffer
  • byteLength: function
    • byteLength(string: string, encoding?: string): number
    • Parameters

      • string: string
      • Optional encoding: string

      Returns number

  • concat: function
    • Parameters

      • list: Buffer[]
      • Optional totalLength: number

      Returns Buffer

  • isBuffer: function
    • isBuffer(obj: any): boolean
    • Parameters

      • obj: any

      Returns boolean

Symbol

___dirname

___dirname: string

___filename

___filename: string

Export assignment console

console: Console

context

describe

exports

exports: any

global

global: Global

it

mocha

mocha: Mocha

module

module: NodeModule

Export assignment process

process: Process
                                          *
              GLOBAL                      *
                                          *

require

require: NodeRequire

specify

suite

test

xdescribe

xit

Functions

after

  • after(callback: function): void
  • after(description: string, callback: function): void

afterEach

  • afterEach(callback: function): void
  • afterEach(description: string, callback: function): void

before

  • before(callback: function): void
  • before(description: string, callback: function): void

beforeEach

  • beforeEach(callback: function): void
  • beforeEach(description: string, callback: function): void

clearImmediate

  • clearImmediate(immediateId: any): void
  • Parameters

    • immediateId: any

    Returns void

clearInterval

  • clearInterval(intervalId: Timer): void
  • Parameters

    Returns void

clearTimeout

  • clearTimeout(timeoutId: Timer): void
  • Parameters

    Returns void

run

  • run(): void
  • Returns void

setInterval

  • setInterval(callback: function, ms: number, ...args: any[]): Timer
  • Parameters

    • callback: function
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • ms: number
    • Rest ...args: any[]

    Returns Timer

setup

  • setup(callback: function): void

suiteSetup

  • suiteSetup(callback: function): void

suiteTeardown

  • suiteTeardown(callback: function): void

teardown

  • teardown(callback: function): void

Generated using TypeDoc