Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Test update
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelEstes committed Aug 16, 2024
1 parent 5ee4a27 commit 615a547
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/engine/src/gltf/GLTFState.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})

Expand Down

0 comments on commit 615a547

Please sign in to comment.