diff --git a/bunfig.toml b/bunfig.toml index bd5514d..25b636f 100644 --- a/bunfig.toml +++ b/bunfig.toml @@ -1,2 +1,2 @@ [test] -preload = ["./tests/fixtures/index.ts"] \ No newline at end of file +preload = ["./tests/fixtures/preload.ts"] \ No newline at end of file diff --git a/tests/axial.test.ts b/tests/axial.test.ts index c3124bc..6003675 100644 --- a/tests/axial.test.ts +++ b/tests/axial.test.ts @@ -1,4 +1,3 @@ -import "bun-match-svg" import { test, expect } from "bun:test" import { convertCircuitJsonToPcbSvg } from "circuit-to-svg" import { fp } from "../src/footprinter" diff --git a/tests/bga.test.ts b/tests/bga.test.ts index 9b7617f..38a7a67 100644 --- a/tests/bga.test.ts +++ b/tests/bga.test.ts @@ -1,4 +1,3 @@ -import "bun-match-svg" import { test, expect } from "bun:test" import { convertCircuitJsonToPcbSvg } from "circuit-to-svg" import { fp } from "../src/footprinter" diff --git a/tests/cap.test.ts b/tests/cap.test.ts index af179ac..da058c2 100644 --- a/tests/cap.test.ts +++ b/tests/cap.test.ts @@ -1,4 +1,3 @@ -import "bun-match-svg" import { test, expect } from "bun:test" import { convertCircuitJsonToPcbSvg } from "circuit-to-svg" import { fp } from "../src/footprinter" diff --git a/tests/dfn.test.ts b/tests/dfn.test.ts index 50f308c..71548d2 100644 --- a/tests/dfn.test.ts +++ b/tests/dfn.test.ts @@ -1,4 +1,3 @@ -import "bun-match-svg" import { test, expect } from "bun:test" import { convertCircuitJsonToPcbSvg } from "circuit-to-svg" import { fp } from "../src/footprinter" diff --git a/tests/diode.test.ts b/tests/diode.test.ts index 64e2142..e301e45 100644 --- a/tests/diode.test.ts +++ b/tests/diode.test.ts @@ -1,4 +1,3 @@ -import "bun-match-svg" import { test, expect } from "bun:test" import { convertCircuitJsonToPcbSvg } from "circuit-to-svg" import { fp } from "../src/footprinter" diff --git a/tests/dip.test.ts b/tests/dip.test.ts index d3e3ef4..a22369f 100644 --- a/tests/dip.test.ts +++ b/tests/dip.test.ts @@ -1,4 +1,3 @@ -import "bun-match-svg" import { test, expect } from "bun:test" import { convertCircuitJsonToPcbSvg } from "circuit-to-svg" import { fp } from "../src/footprinter" diff --git a/tests/fixtures/preload.ts b/tests/fixtures/preload.ts new file mode 100644 index 0000000..ee67a60 --- /dev/null +++ b/tests/fixtures/preload.ts @@ -0,0 +1 @@ +import "bun-match-svg" diff --git a/tests/led.test.ts b/tests/led.test.ts index 1f6c32e..98c5b46 100644 --- a/tests/led.test.ts +++ b/tests/led.test.ts @@ -1,4 +1,3 @@ -import "bun-match-svg" import { test, expect } from "bun:test" import { convertCircuitJsonToPcbSvg } from "circuit-to-svg" import { led } from "../src/fn" diff --git a/tests/mlp.test.ts b/tests/mlp.test.ts index 3020617..45dccab 100644 --- a/tests/mlp.test.ts +++ b/tests/mlp.test.ts @@ -1,4 +1,3 @@ -import "bun-match-svg" import { test, expect } from "bun:test" import { convertCircuitJsonToPcbSvg } from "circuit-to-svg" import { fp } from "../src/footprinter" diff --git a/tests/ms012.test.ts b/tests/ms012.test.ts index 34754ce..ab4a164 100644 --- a/tests/ms012.test.ts +++ b/tests/ms012.test.ts @@ -1,4 +1,3 @@ -import "bun-match-svg" import { test, expect } from "bun:test" import { convertCircuitJsonToPcbSvg } from "circuit-to-svg" import { fp } from "../src/footprinter" diff --git a/tests/ms013.test.ts b/tests/ms013.test.ts index ca87d36..08d07da 100644 --- a/tests/ms013.test.ts +++ b/tests/ms013.test.ts @@ -1,4 +1,3 @@ -import "bun-match-svg" import { test, expect } from "bun:test" import { convertCircuitJsonToPcbSvg } from "circuit-to-svg" import { fp } from "../src/footprinter" diff --git a/tests/pinrow.test.ts b/tests/pinrow.test.ts index 754469a..e26620d 100644 --- a/tests/pinrow.test.ts +++ b/tests/pinrow.test.ts @@ -1,4 +1,3 @@ -import "bun-match-svg" import { test, expect } from "bun:test" import { convertCircuitJsonToPcbSvg } from "circuit-to-svg" import { fp } from "../src/footprinter" diff --git a/tests/qfn.test.ts b/tests/qfn.test.ts index 672c826..b257420 100644 --- a/tests/qfn.test.ts +++ b/tests/qfn.test.ts @@ -1,4 +1,3 @@ -import "bun-match-svg" import { test, expect } from "bun:test" import { convertCircuitJsonToPcbSvg } from "circuit-to-svg" import { fp } from "../src/footprinter" diff --git a/tests/qfp.test.ts b/tests/qfp.test.ts index 7d44259..38ae4c3 100644 --- a/tests/qfp.test.ts +++ b/tests/qfp.test.ts @@ -1,4 +1,3 @@ -import "bun-match-svg" import { test, expect } from "bun:test" import { convertCircuitJsonToPcbSvg } from "circuit-to-svg" import { fp } from "../src/footprinter" diff --git a/tests/quad.test.ts b/tests/quad.test.ts index 8979672..f05ea2f 100644 --- a/tests/quad.test.ts +++ b/tests/quad.test.ts @@ -1,4 +1,3 @@ -import "bun-match-svg" import { test, expect } from "bun:test" import { convertCircuitJsonToPcbSvg } from "circuit-to-svg" import { fp } from "../src/footprinter" diff --git a/tests/res.test.ts b/tests/res.test.ts index 28acc6b..be0754c 100644 --- a/tests/res.test.ts +++ b/tests/res.test.ts @@ -1,4 +1,3 @@ -import "bun-match-svg" import { test, expect } from "bun:test" import { convertCircuitJsonToPcbSvg } from "circuit-to-svg" import { fp } from "../src/footprinter" diff --git a/tests/sod123.test.ts b/tests/sod123.test.ts index 66a435a..fd2b7ad 100644 --- a/tests/sod123.test.ts +++ b/tests/sod123.test.ts @@ -1,4 +1,3 @@ -import "bun-match-svg" import { test, expect } from "bun:test" import { convertCircuitJsonToPcbSvg } from "circuit-to-svg" import { fp } from "../src/footprinter" diff --git a/tests/soic.test.ts b/tests/soic.test.ts index 9749667..071ba0a 100644 --- a/tests/soic.test.ts +++ b/tests/soic.test.ts @@ -1,4 +1,3 @@ -import "bun-match-svg" import { test, expect } from "bun:test" import { convertCircuitJsonToPcbSvg } from "circuit-to-svg" import { fp } from "../src/footprinter" diff --git a/tests/sot23.test.ts b/tests/sot23.test.ts index 456f2b0..c4b9526 100644 --- a/tests/sot23.test.ts +++ b/tests/sot23.test.ts @@ -1,4 +1,3 @@ -import "bun-match-svg" import { test, expect } from "bun:test" import { convertCircuitJsonToPcbSvg } from "circuit-to-svg" import { fp } from "../src/footprinter" diff --git a/tests/sot236.test.ts b/tests/sot236.test.ts index febefe4..77d84ff 100644 --- a/tests/sot236.test.ts +++ b/tests/sot236.test.ts @@ -1,4 +1,3 @@ -import "bun-match-svg" import { test, expect } from "bun:test" import { convertCircuitJsonToPcbSvg } from "circuit-to-svg" import { fp } from "../src/footprinter" diff --git a/tests/sot363.test.ts b/tests/sot363.test.ts index ba3ce2b..4ce192d 100644 --- a/tests/sot363.test.ts +++ b/tests/sot363.test.ts @@ -1,4 +1,3 @@ -import "bun-match-svg" import { test, expect } from "bun:test" import { convertCircuitJsonToPcbSvg } from "circuit-to-svg" import { fp } from "../src/footprinter" diff --git a/tests/sot563.test.ts b/tests/sot563.test.ts index 1f6e8d4..1518db3 100644 --- a/tests/sot563.test.ts +++ b/tests/sot563.test.ts @@ -1,4 +1,3 @@ -import "bun-match-svg" import { test, expect } from "bun:test" import { convertCircuitJsonToPcbSvg } from "circuit-to-svg" import { fp } from "../src/footprinter" diff --git a/tests/sot723.test.ts b/tests/sot723.test.ts index f18b704..cd6893d 100644 --- a/tests/sot723.test.ts +++ b/tests/sot723.test.ts @@ -1,4 +1,3 @@ -import "bun-match-svg" import { test, expect } from "bun:test" import { convertCircuitJsonToPcbSvg } from "circuit-to-svg" import { fp } from "../src/footprinter" diff --git a/tests/ssop.test.ts b/tests/ssop.test.ts index 89ec827..192cd0b 100644 --- a/tests/ssop.test.ts +++ b/tests/ssop.test.ts @@ -1,4 +1,3 @@ -import "bun-match-svg" import { test, expect } from "bun:test" import { convertCircuitJsonToPcbSvg } from "circuit-to-svg" import { fp } from "../src/footprinter" diff --git a/tests/tssop.test.ts b/tests/tssop.test.ts index ee27590..52a8e9f 100644 --- a/tests/tssop.test.ts +++ b/tests/tssop.test.ts @@ -1,4 +1,3 @@ -import "bun-match-svg" import { test, expect } from "bun:test" import { convertCircuitJsonToPcbSvg } from "circuit-to-svg" import { fp } from "../src/footprinter"