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.
1 parent 65b5bce commit 016abd2Copy full SHA for 016abd2
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