mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
8 lines
298 B
TypeScript
8 lines
298 B
TypeScript
import { GlobalRegistrator } from "@happy-dom/global-registrator"
|
|
|
|
GlobalRegistrator.register()
|
|
|
|
// happy-dom has no Web Animations: the menus' motion runs to its end at once.
|
|
Element.prototype.animate = function () {
|
|
return { finished: Promise.resolve(), cancel() {} } as unknown as Animation
|
|
}
|