File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
site/src/modules/resources Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 1
1
import type { Meta , StoryObj } from "@storybook/react" ;
2
2
import type { WorkspaceAgentDevcontainer } from "api/typesGenerated" ;
3
+ import { getPreferredProxy } from "contexts/ProxyContext" ;
3
4
import { chromatic } from "testHelpers/chromatic" ;
4
5
import {
5
6
MockListeningPortsResponse ,
7
+ MockPrimaryWorkspaceProxy ,
6
8
MockTemplate ,
7
9
MockWorkspace ,
8
10
MockWorkspaceAgent ,
9
11
MockWorkspaceAgentContainer ,
10
12
MockWorkspaceAgentContainerPorts ,
11
13
MockWorkspaceApp ,
14
+ MockWorkspaceProxies ,
12
15
MockWorkspaceSubAgent ,
13
16
} from "testHelpers/entities" ;
14
17
import {
@@ -144,3 +147,12 @@ export const WithAppsAndPorts: Story = {
144
147
] ,
145
148
} ,
146
149
} ;
150
+
151
+ export const ShowingPortForward : Story = {
152
+ decorators : [
153
+ withProxyProvider ( {
154
+ proxy : getPreferredProxy ( MockWorkspaceProxies , MockPrimaryWorkspaceProxy ) ,
155
+ proxies : MockWorkspaceProxies ,
156
+ } ) ,
157
+ ] ,
158
+ } ;
You can’t perform that action at this time.
0 commit comments