Update position expectation to use matchObject

This commit is contained in:
2026-04-02 20:28:03 +02:00
parent 6b6ca50b8c
commit c16048bb18

View File

@@ -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