Skip to content

Commit

Permalink
fix(test): grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
jlenon7 committed Jan 11, 2024
1 parent 0ef23b6 commit a5407cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/testing/mocking.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ to clean your mocks in each test 👍

Imagine that our `UserService` has a method called `findById()`
that is responsible to find a user in database by the id using
a `User` model. To mock this scenario, we could do the following:
an `User` model. To mock this scenario, we could do the following:

```typescript
import { UserService } from '#app/services/UserService'
Expand Down Expand Up @@ -1079,7 +1079,7 @@ export default class UserServiceTest {
### Mocking the `create()` method

Now imagine that our `UserService` has a method called `create()`
that is responsible to create a user in database using a `User`
that is responsible to create a user in database using an `User`
model. To mock this scenario, we could do the following:

```typescript
Expand Down

0 comments on commit a5407cf

Please sign in to comment.