mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-24 01:51:57 +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: () => {}
|
||
|
});
|