Remove unused dialogue interaction link and test cases
This commit is contained in:
@@ -11,7 +11,6 @@ import {
|
|||||||
import {
|
import {
|
||||||
createControlInteractionLink,
|
createControlInteractionLink,
|
||||||
createPlaySoundInteractionLink,
|
createPlaySoundInteractionLink,
|
||||||
createStartDialogueInteractionLink,
|
|
||||||
createTeleportPlayerInteractionLink,
|
createTeleportPlayerInteractionLink,
|
||||||
createToggleVisibilityInteractionLink
|
createToggleVisibilityInteractionLink
|
||||||
} from "../../src/interactions/interaction-links";
|
} from "../../src/interactions/interaction-links";
|
||||||
@@ -30,11 +29,6 @@ describe("project sequence steps", () => {
|
|||||||
sourceEntityId: "entity-trigger-main",
|
sourceEntityId: "entity-trigger-main",
|
||||||
targetSoundEmitterId: "entity-sound-main"
|
targetSoundEmitterId: "entity-sound-main"
|
||||||
});
|
});
|
||||||
const dialogueLink = createStartDialogueInteractionLink({
|
|
||||||
id: "link-start-dialogue",
|
|
||||||
sourceEntityId: "entity-trigger-main",
|
|
||||||
dialogueId: "dialogue-main"
|
|
||||||
});
|
|
||||||
const teleportLink = createTeleportPlayerInteractionLink({
|
const teleportLink = createTeleportPlayerInteractionLink({
|
||||||
id: "link-teleport",
|
id: "link-teleport",
|
||||||
sourceEntityId: "entity-trigger-main",
|
sourceEntityId: "entity-trigger-main",
|
||||||
@@ -56,13 +50,6 @@ describe("project sequence steps", () => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
expect(getInteractionLinkSequenceSteps(dialogueLink)).toEqual([
|
|
||||||
{
|
|
||||||
stepClass: "impulse",
|
|
||||||
type: "startDialogue",
|
|
||||||
dialogueId: "dialogue-main"
|
|
||||||
}
|
|
||||||
]);
|
|
||||||
expect(getInteractionLinkSequenceSteps(teleportLink)).toEqual([
|
expect(getInteractionLinkSequenceSteps(teleportLink)).toEqual([
|
||||||
{
|
{
|
||||||
stepClass: "impulse",
|
stepClass: "impulse",
|
||||||
|
|||||||
Reference in New Issue
Block a user