Skip to content

test(jst): assert jst_ph_4 has four pin plated holes (#495)#632

Open
daiquydev wants to merge 1 commit into
tscircuit:mainfrom
daiquydev:test/jst-ph-4-four-plated-holes-495
Open

test(jst): assert jst_ph_4 has four pin plated holes (#495)#632
daiquydev wants to merge 1 commit into
tscircuit:mainfrom
daiquydev:test/jst-ph-4-four-plated-holes-495

Conversation

@daiquydev
Copy link
Copy Markdown

@daiquydev daiquydev commented May 12, 2026

Summary

Issue #495 mô tả \jst_ph_4\ chỉ ra 2 pad; trên \main\ hiện tại footprint đã parse đúng số chân (qua pretransform \jst_ph_N\ → \jstN_ph) và \generatePads\ cho PH tạo
umPins\ lỗ plated.

PR này thêm assertion để không tái phát: đếm đúng 4 \pcb_plated_hole\ dạng \circular_hole_with_rect_pad\ cho \jst_ph_4.

Test plan

  • \�un test tests/jst.test.ts\

Closes #495

Regression coverage for tscircuit#495 (JST PH 4-pin footprint).

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

jst_ph_4 footprint generates only 2 pads instead of 4

1 participant