Function eq
- eq<T>(
expected: NoInfer<RecursiveTestable<T>>,
actual: T,
options?: Annotation | TestOptions,
): voidType Parameters
- T
The type of the values (both values are expected to be of the same type). This type is only inferred from the 'actual' parameter.
Parameters
- expected: NoInfer<RecursiveTestable<T>>
The expected value
- actual: T
The actual value
Optionaloptions: Annotation | TestOptions
Returns void
- T
Verify deep equality of two values (to compare object identity, you need to use assert with ===)