Skip to main content

@rbxts/expect > setDefaultExpectConfig

setDefaultExpectConfig() function

Sets the default ExpectConfig.

Signature:

declare function setDefaultExpectConfig(config: Partial<ExpectConfig>): void;

Parameters

Parameter

Type

Description

config

Partial<ExpectConfig>

Partial ExpectConfig with settings to use.

Returns:

void

Remarks

Will override any previous configuration set. It does not merge them.