File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
1
import { render , screen } from "@testing-library/react" ;
2
+ import { type FC } from "react" ;
2
3
import { QueryClient , QueryClientProvider } from "react-query" ;
3
4
import { RouterProvider , createMemoryRouter } from "react-router-dom" ;
4
5
import userEvent from "@testing-library/user-event" ;
@@ -9,7 +10,7 @@ import { ThemeProvider } from "contexts/ThemeProvider";
9
10
import { MockTemplate , MockWorkspace } from "testHelpers/entities" ;
10
11
import { WorkspaceScheduleControls } from "./WorkspaceScheduleControls" ;
11
12
12
- const Wrapper = ( ) => {
13
+ const Wrapper : FC = ( ) => {
13
14
return (
14
15
< WorkspaceScheduleControls
15
16
workspace = { MockWorkspace }
Original file line number Diff line number Diff line change @@ -97,6 +97,8 @@ export const autostopDisplay = (
97
97
} => {
98
98
const ttl = workspace . ttl_ms ;
99
99
100
+ // workspace.latest_build.resources.map((resource) => resource.agents?.map((agent) => agent.
101
+
100
102
if ( isWorkspaceOn ( workspace ) && true ) {
101
103
return {
102
104
message : "Connected with SSH" ,
You can’t perform that action at this time.
0 commit comments