Logo
Explore Help
Register Sign In
immich-app/immich
1
0
Fork 0
You've already forked immich
mirror of https://github.com/immich-app/immich.git synced 2025-12-20 09:15:35 +03:00
Code Issues Packages Projects Releases 18 Wiki Activity
Files
b36de7d7d4a8295df077d3afa94e7e61d56b45c8
immich/web/src/lib/__mocks__/jsdom-url.mock.ts

9 lines
171 B
TypeScript
Raw Normal View History

chore(web): migrate to vitest (#5754) * Updated vite and ts config file with vtest options and a new alias to fix the dev command error * Updated package script and update the packages -- this removes jest dependencies * Added new setup file needed in vitest in order to be able to use the jest-dom matchers in tests * Updated deprecated utilities when using faker * Updated test files and mocks to use vitest instead of jest * Enabled web test check in GitHub actions * remove babel dependencies as they are no longer needed with vitest * move the jest config files to a folder in case we need to go back to jest * chore: remove old files --------- Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-01-01 10:36:49 -07:00
const createObjectURLMock = vi.fn();
Add AlbumCard UI tests - add libraries for component UI testing - implement AlbumCard UI tests
2022-09-07 16:00:57 +02:00
Object.defineProperty(URL, 'createObjectURL', {
chore(web): prettier (#2821) Co-authored-by: Thomas Way <thomas@6f.io>
2023-07-01 00:50:47 -04:00
writable: true,
value: createObjectURLMock,
Add AlbumCard UI tests - add libraries for component UI testing - implement AlbumCard UI tests
2022-09-07 16:00:57 +02:00
});
export { createObjectURLMock };
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 305ms Template: 12ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API