Skip to content

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

test(class): pin motion preference for export regression

To3akaRinb17b5171a5be
diff --git a/test/class-motion-browser.test.mjs b/test/class-motion-browser.test.mjs
index f751b920..33bfc731 100644
--- a/test/class-motion-browser.test.mjs
+++ b/test/class-motion-browser.test.mjs
@@ -128,6 +128,7 @@ test('class: mixed hierarchy fallback keeps dependency notation in focus and SVG
return result.result?.value;
};
await send('Emulation.setDeviceMetricsOverride', { width: 1440, height: 900, deviceScaleFactor: 1, mobile: false });
+ await send('Emulation.setEmulatedMedia', { features: [{ name: 'prefers-reduced-motion', value: 'no-preference' }] });
// 只截取下载边界,SVG 序列化和关系交互仍执行产品实现。
await send('Page.addScriptToEvaluateOnNewDocument', { source: `
window.classExports = [];