Skip to content

Commit a238ec0

Browse files
chore: format with prettier [skip ci]
1 parent 35ce40f commit a238ec0

1 file changed

Lines changed: 40 additions & 5 deletions

File tree

frontend/src/renderer/hooks/useWorkspaceQuery.test.tsx

Lines changed: 40 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,20 @@ describe("useWorkspaceQuery", () => {
102102
sessions: {
103103
data: {
104104
sessions: [
105-
{ id: "sess-1", projectId: "proj-1", status: "pr_open", isTerminated: false, updatedAt: "2026-06-10T16:15:04Z" },
106-
{ id: "sess-2", projectId: "proj-1", status: "working", isTerminated: false, updatedAt: "2026-06-10T16:15:04Z" },
105+
{
106+
id: "sess-1",
107+
projectId: "proj-1",
108+
status: "pr_open",
109+
isTerminated: false,
110+
updatedAt: "2026-06-10T16:15:04Z",
111+
},
112+
{
113+
id: "sess-2",
114+
projectId: "proj-1",
115+
status: "working",
116+
isTerminated: false,
117+
updatedAt: "2026-06-10T16:15:04Z",
118+
},
107119
],
108120
},
109121
error: undefined,
@@ -112,7 +124,18 @@ describe("useWorkspaceQuery", () => {
112124
"sess-1": {
113125
data: {
114126
sessionId: "sess-1",
115-
prs: [{ number: 278, state: "open", url: "u", ci: "passing", review: "approved", mergeability: "clean", reviewComments: false, updatedAt: "2026-06-10T16:15:04Z" }],
127+
prs: [
128+
{
129+
number: 278,
130+
state: "open",
131+
url: "u",
132+
ci: "passing",
133+
review: "approved",
134+
mergeability: "clean",
135+
reviewComments: false,
136+
updatedAt: "2026-06-10T16:15:04Z",
137+
},
138+
],
116139
},
117140
error: undefined,
118141
},
@@ -134,7 +157,13 @@ describe("useWorkspaceQuery", () => {
134157
sessions: {
135158
data: {
136159
sessions: [
137-
{ id: "sess-1", projectId: "proj-1", status: "pr_open", isTerminated: false, updatedAt: "2026-06-10T16:15:04Z" },
160+
{
161+
id: "sess-1",
162+
projectId: "proj-1",
163+
status: "pr_open",
164+
isTerminated: false,
165+
updatedAt: "2026-06-10T16:15:04Z",
166+
},
138167
],
139168
},
140169
error: undefined,
@@ -154,7 +183,13 @@ describe("useWorkspaceQuery", () => {
154183
sessions: {
155184
data: {
156185
sessions: [
157-
{ id: "sess-1", projectId: "proj-1", status: "merged", isTerminated: true, updatedAt: "2026-06-10T16:15:04Z" },
186+
{
187+
id: "sess-1",
188+
projectId: "proj-1",
189+
status: "merged",
190+
isTerminated: true,
191+
updatedAt: "2026-06-10T16:15:04Z",
192+
},
158193
],
159194
},
160195
error: undefined,

0 commit comments

Comments
 (0)