mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
Add AlbumCard UI tests
- add libraries for component UI testing - implement AlbumCard UI tests
This commit is contained in:
parent
92c4f0598b
commit
f476bd985b
6 changed files with 506 additions and 10 deletions
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 };
|
||||
Loading…
Add table
Add a link
Reference in a new issue