This commit is contained in:
pa
2026-03-04 23:36:04 +09:00
parent 1be9d13cd4
commit 3de0e30ad2
10 changed files with 816 additions and 248 deletions

View File

@@ -20,6 +20,13 @@ globalThis.LogWatcher = new Proxy({}, { get: () => noopAsync });
globalThis.Discord = new Proxy({}, { get: () => noopAsync });
globalThis.AssetBundleManager = new Proxy({}, { get: () => noopAsync });
// ResizeObserver polyfill (needed by @dnd-kit/vue at import time)
globalThis.ResizeObserver ??= class {
observe() {}
unobserve() {}
disconnect() {}
};
// Browser API stubs not available in jsdom
globalThis.speechSynthesis = {
getVoices: () => [],