mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-24 05:29:51 +03:00
10 lines
290 B
JavaScript
10 lines
290 B
JavaScript
import '@testing-library/jest-dom/vitest';
|
|
|
|
// https://github.com/testing-library/svelte-testing-library/issues/284#issuecomment-2082726160
|
|
Element.prototype.animate = () => ({
|
|
// @ts-expect-error `Animation` execpted
|
|
finished: Promise.resolve(),
|
|
cancel: () => {},
|
|
finish: () => {}
|
|
});
|