- Preparing search index...
- The search index is not available
biorate
Interface ExpectMatcherUtils
Methods
diff
- diff(a, b): string
-
Returns string
matcherHint
- matcherHint(matcherName, received, expected, options?): string
-
Parameters
-
matcherName: string
-
received: unknown
-
expected: unknown
-
Optional
Returns string
printDiffOrStringify
- printDiffOrStringify(expected, received, expectedLabel, receivedLabel, expand): string
-
Parameters
-
expected: unknown
-
received: unknown
-
expectedLabel: string
-
receivedLabel: string
-
expand: boolean
Returns string
printExpected
- printExpected(value): string
-
Returns string
printReceived
- printReceived(object): string
-
Returns string
printWithType
- printWithType<T>(name, value, print): string
-
Parameters
-
name: string
-
value: T
-
print: ((value) => string)
-
- (value): string
-
Returns string
Returns string
stringify
- stringify(object, maxDepth?, maxWidth?): string
-
Parameters
-
object: unknown
-
Optional
maxDepth: number
Optional
-
Optional
maxWidth: number
Optional
Returns string