Page Contents

Home > @loopback/testlab > itSkippedOnTravis

itSkippedOnTravis() function

Warning: This API is now obsolete.

Use skipOnTravis(it, name, fn) instead.

Helper function for skipping tests on Travis env - legacy variant supporting it only.

Signature:

export declare function itSkippedOnTravis(expectation: string, callback?: TestFn): void;

Parameters

Parameter Type Description
expectation string The test name (the first argument of it function).
callback TestFn The test function (the second argument of it function).

Returns:

void