diff --git a/tests/sch/__snapshots__/rotated-resistor.snap.svg b/tests/sch/__snapshots__/rotated-resistor.snap.svg
index 743e5ed..9256de4 100644
--- a/tests/sch/__snapshots__/rotated-resistor.snap.svg
+++ b/tests/sch/__snapshots__/rotated-resistor.snap.svg
@@ -1,4 +1,4 @@
-
\ No newline at end of file
+ R110kΩ
\ No newline at end of file
diff --git a/tests/sch/rotated-resistor.test.tsx b/tests/sch/rotated-resistor.test.tsx
index 9bb2df7..81c0923 100644
--- a/tests/sch/rotated-resistor.test.tsx
+++ b/tests/sch/rotated-resistor.test.tsx
@@ -11,21 +11,12 @@ test("schematic rotated resistor", () => {
name="R1"
resistance="10k"
footprint="0402"
- schRotation="0deg"
+ schRotation="90deg"
/>
,
)
expect(
- convertCircuitJsonToSchematicSvg(
- circuit.getCircuitJson().map((c) => {
- if (c.type !== "schematic_component") return c
-
- return {
- ...c,
- symbol_name: "boxresistor_vert",
- }
- }),
- ),
+ convertCircuitJsonToSchematicSvg(circuit.getCircuitJson()),
).toMatchSvgSnapshot(import.meta.path)
})