mirror of
https://github.com/jellyfin/jellyfin-sdk-typescript.git
synced 2024-11-23 05:59:44 +00:00
Remove extra restoreAllMocks
This commit is contained in:
parent
dd89a7ee58
commit
75d1ac7376
@ -82,7 +82,6 @@ describe('Api', () => {
|
||||
});
|
||||
|
||||
it('should return an item image url', () => {
|
||||
vi.restoreAllMocks();
|
||||
const api = new Api(SERVER_URL, TEST_CLIENT, TEST_DEVICE);
|
||||
expect(api.getItemImageUrl('TEST')).toBe('https://example.com/Items/TEST/Images/Primary');
|
||||
expect(api.getItemImageUrl('TEST', ImageType.Backdrop, { fillWidth: 100, fillHeight: 100 }))
|
||||
|
Loading…
Reference in New Issue
Block a user