refactor(scum): remove legacy projection workflows
This commit is contained in:
@@ -96,11 +96,11 @@ describe("PluginPageHostPage", () => {
|
||||
expect(hostSource).not.toMatch(/ScumFileConfigWorkbench|GamePlayerIntelligencePanel|GameGiftCatalogPanel|ScumMapTrajectoryPanel|game\.scum/);
|
||||
});
|
||||
|
||||
it("keeps SCUM workspace callbacks read-only across parent operational refreshes", () => {
|
||||
it("removes SCUM legacy workspace callbacks from the parent host", () => {
|
||||
expect(hostSource).toContain("readyPluginRef.current = readyPlugin");
|
||||
expect(hostSource).toContain("hostContextRef.current = hostContext");
|
||||
expect(hostSource).toContain("listSCUMPlayers: () => platformApiClient.listSCUMPlayers(serverId)");
|
||||
expect(hostSource).toContain("listSCUMPositions: () => platformApiClient.listSCUMPositions(serverId)");
|
||||
expect(hostSource).not.toContain("listSCUMPlayers");
|
||||
expect(hostSource).not.toContain("listSCUMPositions");
|
||||
expect(hostSource).not.toContain("createSCUMWorkflow");
|
||||
expect(hostSource).not.toContain("createSCUMOperation");
|
||||
expect(hostSource).not.toContain("listSCUMWorkflowSteps");
|
||||
@@ -108,7 +108,6 @@ describe("PluginPageHostPage", () => {
|
||||
expect(hostSource).not.toContain("requestFile");
|
||||
expect(hostSource).not.toContain("writeFile");
|
||||
expect(hostSource).not.toContain("getDeclaredFileReadSnapshot");
|
||||
expect(hostSource).toContain("}, [pluginId, serverId]);");
|
||||
expect(hostSource).not.toContain("}, [hostContext, readyPlugin, serverId]);");
|
||||
expect(hostSource).toContain("const workspaceActions = undefined");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user