Skip to content

Commit

Permalink
chore(docs): fix typing error in function name (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanBijzitter authored and SimenB committed Sep 5, 2019
1 parent eacb78a commit 7fca846
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/rules/prefer-to-be-null.md
Expand Up @@ -5,7 +5,7 @@ asserting expections on null value.

## Rule details

This rule triggers a warning if `toBe()`, `isEqual()` or `toStrictEqual()` is
This rule triggers a warning if `toBe()`, `toEqual()` or `toStrictEqual()` is
used to assert a null value.

```js
Expand All @@ -21,7 +21,7 @@ The following patterns are considered warnings:
```js
expect(null).toBe(null);

expect(null).isEqual(null);
expect(null).toEqual(null);

expect(null).toStrictEqual(null);
```
Expand Down
4 changes: 2 additions & 2 deletions docs/rules/prefer-to-be-undefined.md
Expand Up @@ -5,7 +5,7 @@ asserting expections on undefined value.

## Rule details

This rule triggers a warning if `toBe()`, `isEqual()` or `toStrictEqual()` is
This rule triggers a warning if `toBe()`, `toEqual()` or `toStrictEqual()` is
used to assert an undefined value.

```js
Expand All @@ -21,7 +21,7 @@ The following patterns are considered warnings:
```js
expect(undefined).toBe(undefined);

expect(undefined).isEqual(undefined);
expect(undefined).toEqual(undefined);

expect(undefined).toStrictEqual(undefined);
```
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/prefer-to-contain.md
Expand Up @@ -5,7 +5,7 @@ asserting expectations on an array containing an object.

## Rule details

This rule triggers a warning if `toBe()`, `isEqual()` or `toStrictEqual()` is
This rule triggers a warning if `toBe()`, `toEqual()` or `toStrictEqual()` is
used to assert object inclusion in an array

```js
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/prefer-to-have-length.md
Expand Up @@ -5,7 +5,7 @@ asserting expectations on object's length property.

## Rule details

This rule triggers a warning if `toBe()`, `isEqual()` or `toStrictEqual()` is
This rule triggers a warning if `toBe()`, `toEqual()` or `toStrictEqual()` is
used to assert object's length property.

```js
Expand Down

0 comments on commit 7fca846

Please sign in to comment.