matchers
Namespace: matchers
matchers
Matchers that come with Jasmine out of the box.
Methods
toBe(expected)
expect
the actual value to be ===
to the expected value.
Parameters:
Name | Type | Description |
---|---|---|
expected | Object | The expected value to compare against. |
Example
expect(thing).toBe(realThing);