Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/__snapshots__/dip28_w7.62mm_p2.54mm.snap.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions tests/dip.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,11 @@ test("dip_0.1in", () => {
const svgContent = convertCircuitJsonToPcbSvg(circuitJson)
expect(svgContent).toMatchSvgSnapshot(import.meta.path, "dip_0.1in")
})

test("dip28_w7.62mm_p2.54mm", () => {
const circuitJson = fp
.string("dip28_w7.62mm_p2.54mm")
.circuitJson() as AnyCircuitElement[]
const svgContent = convertCircuitJsonToPcbSvg(circuitJson)
expect(svgContent).toMatchSvgSnapshot(import.meta.path, "dip28_w7.62mm_p2.54mm")
})
Loading