(require("pete/skip"))(nameopt, fn, optsopt, cbopt) → {boolean}
- Description:
Prepare test but override it so it will not really be run.
It will be reported as "skipped".Returns
trueif 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 |
|
opts |
module:pete/lib/RunOptions | object |
<optional> |
|
cb |
function |
<optional> |
function to call back with array of results |
Returns:
- Type
- boolean