Skip to content

Commit

Permalink
fixed test v2
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiboSoftwareDev committed Oct 5, 2024
1 parent ed16ec5 commit d79e854
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,5 @@ test("create solderpaste from smtpad", async () => {
expect(solderPaste.height).toBe(smtPadHeight * 0.7)
expect(smtPad.pcb_smtpad_id).toBe(solderPaste.pcb_smtpad_id!)

await expect(
circuit.getSvg({
view: "pcb",
layer: "top",
}),
).toMatchSvgSnapshot(import.meta.path)
await expect(circuit.getCircuitJson()).toMatchPcbSnapshot(import.meta.path)
})
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,5 @@ test("create solderpaste", async () => {
expect(solderPaste.shape).toBe("circle")
expect(solderPaste.pcb_smtpad_id).toBe("")

await expect(
circuit.getSvg({
view: "pcb",
layer: "top",
}),
).toMatchSvgSnapshot(import.meta.path)
await expect(circuit.getCircuitJson()).toMatchPcbSnapshot(import.meta.path)
})

0 comments on commit d79e854

Please sign in to comment.