-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Introduce <stampboard /> #637
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's do a snapshot test
const props = stampboardInstance!._parsedProps as any | ||
expect(props.leftPinCount).toBe(4) | ||
expect(props.rightPinCount).toBe(4) | ||
expect(props.topPins).toEqual(["TP1", "TP2"]) | ||
expect(props.bottomPins).toEqual(["BP1", "BP2"]) | ||
expect(props.pinPitch).toBe(2) | ||
expect(props.innerHoles).toBe(true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why are you checking the passing props, check the circuit_json which is being rendered.
@ShiboSoftwareDev we cannot do a snapshot test because we do not have a symbol for stampboard right now?? |
@Anshgrover23 I'm talking about a pcb snapshot, doesn't this component implicitly create a footprint? |
This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs. |
/claim #213
Fixes #213