From c16048bb181dbcb522c232e942ec246a763a8152 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Thu, 2 Apr 2026 20:28:03 +0200 Subject: [PATCH] Update position expectation to use matchObject --- tests/unit/viewport-entity-markers.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/viewport-entity-markers.test.ts b/tests/unit/viewport-entity-markers.test.ts index 998f6660..e3fdb1f2 100644 --- a/tests/unit/viewport-entity-markers.test.ts +++ b/tests/unit/viewport-entity-markers.test.ts @@ -15,7 +15,7 @@ describe("createSoundEmitterMarkerMeshes", () => { expect(meshes[4].geometry).toBeInstanceOf(CylinderGeometry); expect(meshes.some((mesh) => mesh.geometry instanceof SphereGeometry)).toBe(false); - expect(meshes[0].position).toEqual({ + expect(meshes[0].position).toMatchObject({ x: 0, y: 0, z: 0