Add playAnimation and stopAnimation methods to mock objects
This commit is contained in:
@@ -128,7 +128,9 @@ describe("RuntimeInteractionSystem", () => {
|
|||||||
},
|
},
|
||||||
toggleBrushVisibility: () => {
|
toggleBrushVisibility: () => {
|
||||||
dispatches.push("toggle");
|
dispatches.push("toggle");
|
||||||
}
|
},
|
||||||
|
playAnimation: () => {},
|
||||||
|
stopAnimation: () => {}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
interactionSystem.updatePlayerPosition(
|
interactionSystem.updatePlayerPosition(
|
||||||
@@ -144,7 +146,9 @@ describe("RuntimeInteractionSystem", () => {
|
|||||||
},
|
},
|
||||||
toggleBrushVisibility: () => {
|
toggleBrushVisibility: () => {
|
||||||
dispatches.push("toggle");
|
dispatches.push("toggle");
|
||||||
}
|
},
|
||||||
|
playAnimation: () => {},
|
||||||
|
stopAnimation: () => {}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user