mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
Add AlbumCard UI tests
- add libraries for component UI testing - implement AlbumCard UI tests
This commit is contained in:
8
web/src/lib/__mocks__/jsdom-url.mock.ts
Normal file
8
web/src/lib/__mocks__/jsdom-url.mock.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
const createObjectURLMock = jest.fn();
|
||||
|
||||
Object.defineProperty(URL, 'createObjectURL', {
|
||||
writable: true,
|
||||
value: createObjectURLMock
|
||||
});
|
||||
|
||||
export { createObjectURLMock };
|
||||
Reference in New Issue
Block a user