diff --git a/docs/testing/mocking.mdx b/docs/testing/mocking.mdx index 91186978..54417da6 100644 --- a/docs/testing/mocking.mdx +++ b/docs/testing/mocking.mdx @@ -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' @@ -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