From 615a547b867f2ff76698d8ce62dfd6bd7980fcba Mon Sep 17 00:00:00 2001 From: Michael Estes Date: Fri, 16 Aug 2024 12:46:38 -0700 Subject: [PATCH] Test update --- packages/engine/src/gltf/GLTFState.test.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/engine/src/gltf/GLTFState.test.tsx b/packages/engine/src/gltf/GLTFState.test.tsx index eddbadc537..5719814a0a 100644 --- a/packages/engine/src/gltf/GLTFState.test.tsx +++ b/packages/engine/src/gltf/GLTFState.test.tsx @@ -373,8 +373,14 @@ describe('GLTFState', () => { assert.equal(getComponent(nodeEntity!, VisibleComponent), true) assert(getComponent(nodeEntity!, HemisphereLightComponent)) - assert.equal(getComponent(nodeEntity!, HemisphereLightComponent).skyColor.getHex(), new Color('green').getHex()) - assert.equal(getComponent(nodeEntity!, HemisphereLightComponent).groundColor.getHex(), new Color('purple').getHex()) + assert.equal( + new Color(getComponent(nodeEntity!, HemisphereLightComponent).skyColor).getHex(), + new Color('green').getHex() + ) + assert.equal( + new Color(getComponent(nodeEntity!, HemisphereLightComponent).groundColor).getHex(), + new Color('purple').getHex() + ) assert.equal(getComponent(nodeEntity!, HemisphereLightComponent).intensity, 0.5) })