Here's a repro:
export default () => (
<board width="10mm" height="10mm">
<testpoint
name="TP1"
pcbX={-2}
footprintVariant="pad"
/>
<testpoint
name="TP2"
pcbX={2}
footprintVariant="pad"
/>
<testpoint
name="TP3"
pcbY={2}
pcbX={2}
footprintVariant="pad"
/>
<trace from="TP1.pin1" to="TP2.pin1" />
<trace from="TP2.pin1" to="TP3.pin1" />
</board>
)