-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { test, expect } from "bun:test" | ||
import { testRender } from "tests/fixtures/test-render" | ||
import { Footprinter3d } from "jscad-electronics" | ||
import { createJSCADRenderer } from "lib" | ||
import { jscadPlanner } from "jscad-planner" | ||
|
||
const { createJSCADRoot } = createJSCADRenderer(jscadPlanner as any) | ||
|
||
test("repro1-translate-bug without jscad-planner", () => { | ||
testRender(<Footprinter3d footprint="tssop16" />) | ||
}) | ||
|
||
test("repro1-translate-bug with jscad-planner", () => { | ||
const jscadPlan: any[] = [] | ||
const root = createJSCADRoot(jscadPlan) | ||
root.render(<Footprinter3d footprint="tssop16" />) | ||
}) |