Skip to content

Commit be71606

Browse files
committed
chore: remove as any from response type
1 parent f24c10b commit be71606

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

apps/http-sample/src/cats/cats.service.spec.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,7 @@ describe('CatsService', () => {
144144
statusText: 'OK',
145145
};
146146

147-
jest
148-
.spyOn(httpService, 'post')
149-
.mockImplementation(() => of(response as any));
147+
jest.spyOn(httpService, 'post').mockImplementation(() => of(response));
150148

151149
service.create(createCatDto).subscribe({
152150
next: (val) => {

0 commit comments

Comments
 (0)