File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
site/src/modules/resources Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
import type { Meta , StoryObj } from "@storybook/react" ;
2
+ import { spyOn } from "@storybook/test" ;
3
+ import { API } from "api/api" ;
2
4
import { getPreferredProxy } from "contexts/ProxyContext" ;
3
5
import { chromatic } from "testHelpers/chromatic" ;
4
6
import * as M from "testHelpers/entities" ;
@@ -8,8 +10,6 @@ import {
8
10
withWebSocket ,
9
11
} from "testHelpers/storybook" ;
10
12
import { AgentRow } from "./AgentRow" ;
11
- import { spyOn } from "@storybook/test" ;
12
- import { API } from "api/api" ;
13
13
14
14
const defaultAgentMetadata = [
15
15
{
Original file line number Diff line number Diff line change 1
1
import type { Meta , StoryObj } from "@storybook/react" ;
2
2
import { spyOn , userEvent , within } from "@storybook/test" ;
3
+ import { API } from "api/api" ;
3
4
import {
4
- MockDeploymentConfig ,
5
5
MockDeploymentSSH ,
6
6
MockWorkspace ,
7
7
MockWorkspaceAgent ,
8
8
} from "testHelpers/entities" ;
9
9
import { withDesktopViewport } from "testHelpers/storybook" ;
10
10
import { AgentSSHButton } from "./SSHButton" ;
11
- import { API } from "api/api" ;
12
11
13
12
const meta : Meta < typeof AgentSSHButton > = {
14
13
title : "modules/resources/AgentSSHButton" ,
You can’t perform that action at this time.
0 commit comments