mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-18 23:02:31 +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: () => {}
|
||
|
});
|