Skip to content

Commit

Permalink
line in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
marcfallows committed Jan 9, 2019
1 parent fe65db7 commit 1c2d351
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/ExpectAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -1125,6 +1125,7 @@ Use `.toStrictEqual` to test that objects have the same types as well as structu
Differences from `.toEqual`:

- Keys with `undefined` properties are checked. e.g. `{a: undefined, b: 2}` does not match `{b: 2}` when using `.toStrictEqual`.
- Array sparseness is checked. e.g. `[, 1]` does not match `[undefined, 1]` when using `.toStrictEqual`.
- Object types are checked to be equal. e.g. A class instance with fields `a` and `b` will not equal a literal object with fields `a` and `b`.

```js
Expand Down

0 comments on commit 1c2d351

Please sign in to comment.