Class: Duration

hifive/result~ Duration

new Duration()

{ started : Date , finished : Date , slowThreshold : <Number/ms> }

The duration of a particular test.

Source:

Methods

isSlow()

@Duration => Void → Boolean

Whether this duration should be considered slow.

Source:

time()

@Duration => Void → Number

The total time of this duration in milliseconds.

Source:

toString()

@Duration => Void → String

The textual representation of this duration.

Source: