forked from molecule-ai/molecule-core
Add 10 tests covering the Cmd/Ctrl+Arrow resize shortcut: - ArrowUp/Down resizes height (−/+10px) - ArrowLeft/Right resizes width (−/+10px) - Shift modifier uses 2px step for fine control - min-height constraint respected when shrinking - Guard: no-op when no node selected - Guard: skipped when modal dialog is open - Plain arrow keys (no modifier) fire moveNode instead - Alt+Arrow is skipped (not a resize combo) Also extends the mock store state with `onNodesChange` and node `width`/`height` fields needed for the resize tests. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| e2e | ||
| public | ||
| src | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| components.json | ||
| Dockerfile | ||
| next.config.ts | ||
| package-lock.json | ||
| package.json | ||
| playwright.config.ts | ||
| playwright.staging.config.ts | ||
| postcss.config.js | ||
| tsconfig.json | ||
| vitest.config.ts | ||