MCPcopy
hub / github.com/nilbuild/driver.js / position.test.ts

File position.test.ts

tests/position.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it } from "vitest";
2import { calculateArrowOffset, calculateArrowTarget, resolveArrowSide } from "../src/position";
3
4// These cover the pure geometry directly, without a DOM or the driver harness.

Callers

nothing calls this directly

Calls 4

resolveArrowSideFunction · 0.90
calculateArrowTargetFunction · 0.90
calculateArrowOffsetFunction · 0.90
describeFunction · 0.85

Tested by

no test coverage detected