Skip to content

Commit a11d2a0

Browse files
committed
test: add feature branch to storybook mock branch list
Extend listBranches mock response with a feature branch example to better represent realistic branch listings during component development and testing.
1 parent 6c4882f commit a11d2a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.storybook/mocks/orpc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export function createMockORPCClient(options: MockORPCClientOptions = {}): ORPCC
8484
}),
8585
pickDirectory: async () => null,
8686
listBranches: async () => ({
87-
branches: ["main", "develop"],
87+
branches: ["main", "develop", "feature/new-feature"],
8888
recommendedTrunk: "main",
8989
}),
9090
remove: async () => ({ success: true, data: undefined }),

0 commit comments

Comments
 (0)