Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docs): fix typing error in function name #413

Merged
merged 4 commits into from Sep 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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