Include player input bindings in scene document validation test
This commit is contained in:
@@ -6,6 +6,7 @@ import { validateSceneDocument } from "../../src/document/scene-document-validat
|
|||||||
import {
|
import {
|
||||||
createPointLightEntity,
|
createPointLightEntity,
|
||||||
createInteractableEntity,
|
createInteractableEntity,
|
||||||
|
createPlayerStartInputBindings,
|
||||||
createPlayerStartEntity,
|
createPlayerStartEntity,
|
||||||
createSoundEmitterEntity,
|
createSoundEmitterEntity,
|
||||||
createSpotLightEntity,
|
createSpotLightEntity,
|
||||||
@@ -116,6 +117,7 @@ describe("validateSceneDocument", () => {
|
|||||||
},
|
},
|
||||||
yawDegrees: Number.NaN,
|
yawDegrees: Number.NaN,
|
||||||
navigationMode: "invalidMode" as unknown as "firstPerson",
|
navigationMode: "invalidMode" as unknown as "firstPerson",
|
||||||
|
inputBindings: createPlayerStartInputBindings(),
|
||||||
collider: {
|
collider: {
|
||||||
mode: "capsule",
|
mode: "capsule",
|
||||||
eyeHeight: 3,
|
eyeHeight: 3,
|
||||||
|
|||||||
Reference in New Issue
Block a user