refactor: remove legacy workspace UI state
This commit is contained in:
@@ -23,12 +23,9 @@ export function canonicalWorkspaceFixture(
|
||||
};
|
||||
}
|
||||
|
||||
export function workspaceRevisionFixture(
|
||||
id: string,
|
||||
state: WorkspaceRevision["state"] = "operational",
|
||||
): WorkspaceRevision {
|
||||
export function workspaceRevisionFixture(id: string): WorkspaceRevision {
|
||||
return {
|
||||
id, commit: "a".repeat(40), blob: "b".repeat(40),
|
||||
snapshotPath: `/snapshots/${"a".repeat(40)}/${id}.yaml`, state,
|
||||
snapshotPath: `/snapshots/${"a".repeat(40)}/${id}.yaml`,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user