We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c7bd972 + 016abd2 commit 2ae3d1eCopy full SHA for 2ae3d1e
content/recipes/automock.md
@@ -71,11 +71,11 @@ describe('CatsService unit spec', () => {
71
beforeAll(() => {
72
const { unit, unitRef } = TestBed.create(CatsService)
73
.mock(HttpService)
74
- .use({ get: jest.fn() })
+ .using({ get: jest.fn() })
75
.mock(Logger)
76
- .use({ log: jest.fn() })
+ .using({ log: jest.fn() })
77
.mock(CatsDal)
78
- .use({ saveCats: jest.fn() })
+ .using({ saveCats: jest.fn() })
79
.compile();
80
81
underTest = unit;
0 commit comments