first commit

This commit is contained in:
douboer@gmail.com
2026-03-03 13:23:14 +08:00
commit 3b7c1d558a
161 changed files with 28120 additions and 0 deletions

14
xterminal/tests/setup.ts Normal file
View File

@@ -0,0 +1,14 @@
import { beforeAll } from "vitest";
// Mock scrollTo for jsdom
Object.defineProperty(HTMLElement.prototype, "scrollTo", {
writable: true,
value: function (x: number, y: number) {
this.scrollTop = y;
this.scrollLeft = x;
}
});
beforeAll(() => {
// Any global setup
});