core3-utils

@wixc3/testing on Github

Home > @wixc3/testing > randomizeTestsOrder

randomizeTestsOrder() function

Randomizes tests order

To avoid confusion, it can only be set once, before the testing begins (i.e. not in a running test)

Signature:

export declare function randomizeTestsOrder(shouldRandomize?: boolean): void;

Parameters

Parameter Type Description
shouldRandomize boolean _(Optional)_

Returns:

void