pete/test

(require("pete/test"))(nameopt, fn, optsopt, cbopt) → {boolean}

Description:
  • Returns true if test was prepared and added to the queue.

Source:
Parameters:
Name Type Attributes Description
name string <optional>
fn function | string

function to run, or path to file that calls any combination of test, skip and/or todo

opts module:pete/lib/RunOptions | object <optional>
cb function <optional>

function to call back with array of results

Returns:
Type
boolean