Refactor runtime interaction system tests by removing unused imports and handlers
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
import { describe, expect, it } from "vitest";
|
import { describe, expect, it } from "vitest";
|
||||||
|
|
||||||
import { createEmptyRuntimeControlSurfaceDefinition } from "../../src/controls/control-surface";
|
import { createEmptyRuntimeControlSurfaceDefinition } from "../../src/controls/control-surface";
|
||||||
import { createEmptyProjectDialogueLibrary } from "../../src/dialogues/project-dialogues";
|
|
||||||
import {
|
import {
|
||||||
createEmptyProjectSequenceLibrary,
|
createEmptyProjectSequenceLibrary,
|
||||||
createProjectSequence
|
createProjectSequence
|
||||||
} from "../../src/sequencer/project-sequences";
|
} from "../../src/sequencer/project-sequences";
|
||||||
import {
|
import {
|
||||||
|
createNpcEntity,
|
||||||
createPlayerStartInputBindings,
|
createPlayerStartInputBindings,
|
||||||
createPlayerStartMovementTemplate
|
createPlayerStartMovementTemplate
|
||||||
} from "../../src/entities/entity-instances";
|
} from "../../src/entities/entity-instances";
|
||||||
@@ -14,7 +14,6 @@ import {
|
|||||||
createPlayAnimationInteractionLink,
|
createPlayAnimationInteractionLink,
|
||||||
createPlaySoundInteractionLink,
|
createPlaySoundInteractionLink,
|
||||||
createRunSequenceInteractionLink,
|
createRunSequenceInteractionLink,
|
||||||
createStartDialogueInteractionLink,
|
|
||||||
createTeleportPlayerInteractionLink,
|
createTeleportPlayerInteractionLink,
|
||||||
createToggleVisibilityInteractionLink,
|
createToggleVisibilityInteractionLink,
|
||||||
createStopAnimationInteractionLink,
|
createStopAnimationInteractionLink,
|
||||||
@@ -36,7 +35,6 @@ function createRuntimeSceneFixture(): RuntimeSceneDefinition {
|
|||||||
scheduler: createRuntimeProjectSchedulerState({
|
scheduler: createRuntimeProjectSchedulerState({
|
||||||
document: createEmptyProjectScheduler()
|
document: createEmptyProjectScheduler()
|
||||||
}),
|
}),
|
||||||
dialogues: createEmptyProjectDialogueLibrary(),
|
|
||||||
sequences: createEmptyProjectSequenceLibrary(),
|
sequences: createEmptyProjectSequenceLibrary(),
|
||||||
world: {
|
world: {
|
||||||
...createDefaultWorldSettings(),
|
...createDefaultWorldSettings(),
|
||||||
@@ -192,7 +190,6 @@ function createDispatcher(
|
|||||||
playSound: () => {},
|
playSound: () => {},
|
||||||
stopSound: () => {},
|
stopSound: () => {},
|
||||||
startNpcDialogue: () => {},
|
startNpcDialogue: () => {},
|
||||||
startDialogue: () => {},
|
|
||||||
...overrides
|
...overrides
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user