MCPcopy Create free account
hub / github.com/coder/coder / makePage

Function makePage

site/src/pages/WorkspacesPage/WorkspacesPage.stories.tsx:176–181  ·  view source on GitHub ↗
(prefix: string)

Source from the content-addressed store, hash-verified

174};
175
176const makePage = (prefix: string) =>
177 Array.from({ length: 25 }, (_, i) => ({
178 ...MockWorkspace,
179 id: `${prefix}-workspace-${i}`,
180 name: `${prefix}-workspace-${i}`,
181 }));
182
183export const PaginationChangesQueryKey: Story = {
184 parameters: {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected