Members
Like
Supported Like Types enum.
- Source:
Methods
extendJest()
Extend Jest with toBeLike.
Automatically called.
toBeLike(value, type)
Is given value like a type.
Does ducktyping when needed.
Jest Matcher.
Parameters:
Name | Type | Description |
---|---|---|
value |
unknown | The value to check |
type |
Like | The type to check for. |
- Source:
Returns:
Jest matcher pass/fail state object.