Skip to main content

@rbxts/expect > ExpectMessageBuilderOptions > wrapValues

ExpectMessageBuilderOptions.wrapValues property

Whether to wrap VariableData in quotes when output.

Signature:

wrapValues: boolean;

Remarks

Strings are wrapped in double quotes (") while everything else is wrapped in single quotes (').

Example

With wrapValues: false

Expected 5 to equal daymon

With wrapValues: true

Expected '5' to equal "daymon"