diff --git a/apps/site/pages/en/learn/test-runner/mocking.md b/apps/site/pages/en/learn/test-runner/mocking.md index 62c08b4dcd8d6..fc7fc1c8b645d 100644 --- a/apps/site/pages/en/learn/test-runner/mocking.md +++ b/apps/site/pages/en/learn/test-runner/mocking.md @@ -172,7 +172,7 @@ describe('foo', { concurrency: true }, () => { }); it('should do the thing', () => { - barMock.mockImplementationOnce(function bar_mock() { + barMock.mock.mockImplementationOnce(function bar_mock() { /* … */ });