Skip to content

Commit

Permalink
added excellon-drill snapshot to gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiboSoftwareDev committed Oct 7, 2024
1 parent b966720 commit be7fc2d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 22 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -181,4 +181,6 @@ dist
yalc.lock

gerber-output
gerber-output.zip
gerber-output.zip

excellon-drill-builder.test.ts.snap
24 changes: 3 additions & 21 deletions tests/excellon-drill/excellon-drill-builder.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,25 +36,7 @@ test("test that we can recreate an example drill file", async () => {
.add("M30", {})
.build()

expect(output_commands).toMatchSnapshot("excellon-drill-builder")
// t.is(
// output_text,
// `M48
// ; DRILL file {tscircuit} date 2024-04-09T20:34:41-0700
// ; FORMAT={-:-/ absolute / inch / decimal}
// ; #@! TF.CreationDate,2024-04-09T20:34:41-07:00
// ; #@! TF.GenerationSoftware,Kicad,Pcbnew,8.0.1
// ; #@! TF.FileFunction,Plated,1,2,PTH
// FMAT,2
// INCH
// ; #@! TA.AperFunction,Plated,PTH,ComponentDrill
// T1C0.0394
// %
// G90
// G05
// T1
// X4.9197Y-2.9724
// X5.0197Y-2.9724
// M30`
// )
console.log(output_commands)
expect(output_commands.find(elm=>elm.command_code === 'drill_at')).toHaveProperty('command_code','drill_at')

})

0 comments on commit be7fc2d

Please sign in to comment.