test: Split test utilities to improve test times (#2622)

This commit is contained in:
Dermot Duffy authored and GitHub committed 2026-07-26 16:29:53 -07:00
1 parent 8d44fcecf1
commit ad89aa9538
234 files changed
+2730 -2516

No files matched your search

+1 -1
View File
@@ -45,6 +45,6 @@ describe('getMediaDownloadPath', () => {
expect(await getMediaDownloadPath(hass, 'id-1', resolvedMediaCache)).toEqual({
endpoint: 'canonicalized:/media/path.mp4',
});
expect(resolveMedia).toBeCalledWith(hass, 'id-1', resolvedMediaCache);
expect(resolveMedia).toHaveBeenCalledWith(hass, 'id-1', resolvedMediaCache);
});
});