8000 chore: add error story · coder/coder@59bdade · GitHub
[go: up one dir, main page]

Skip to content

Commit 59bdade

Browse files
chore: add error story
1 parent e147688 commit 59bdade

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

site/src/modules/resources/AgentDevcontainerCard.stories.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,15 @@ const meta: Meta<typeof AgentDevcontainerCard> = {
4646
export default meta;
4747
type Story = StoryObj<typeof AgentDevcontainerCard>;
4848

49+
export const HasError: Story = {
50+
args: {
51+
devcontainer: {
52+
...MockWorkspaceAgentDevcontainer,
53+
error: "unable to inject devcontainer with agent",
54+
},
55+
},
56+
};
57+
4958
export const NoPorts: Story = {};
5059

5160
export const WithPorts: Story = {

0 commit comments

Comments
 (0)
0