Skip to content

Commit d122e58

Browse files
authored
fix(learn): correct mocking example (#7779)
Update mocking.md Signed-off-by: Colin Ihrig <cjihrig@gmail.com>
1 parent 1815fa7 commit d122e58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/site/pages/en/learn/test-runner/mocking.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ describe('foo', { concurrency: true }, () => {
172172
});
173173

174174
it('should do the thing', () => {
175-
barMock.mockImplementationOnce(function bar_mock() {
175+
barMock.mock.mockImplementationOnce(function bar_mock() {
176176
/**/
177177
});
178178

0 commit comments

Comments
 (0)