Remove extra restoreAllMocks

This commit is contained in:
rhyse302 2024-02-25 10:58:33 -06:00 committed by Bill Thornton
parent dd89a7ee58
commit 75d1ac7376

View File

@ -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 }))