File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
site/src/pages/WorkspacePage Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -242,7 +242,9 @@ describe("WorkspacePage", () => {
242
242
} ) ;
243
243
await user . click ( confirmButton ) ;
244
244
245
- expect ( cancelWorkspaceMock ) . toHaveBeenCalledWith ( MockStartingWorkspace . latest_build . id ) ;
245
+ expect ( cancelWorkspaceMock ) . toHaveBeenCalledWith (
246
+ MockStartingWorkspace . latest_build . id ,
247
+ ) ;
246
248
} ) ;
247
249
248
250
it ( "requests cancellation when the user presses Cancel and the workspace is pending" , async ( ) => {
@@ -270,7 +272,10 @@ describe("WorkspacePage", () => {
270
272
} ) ;
271
273
await user . click ( confirmButton ) ;
272
274
273
- expect ( cancelWorkspaceMock ) . toHaveBeenCalledWith ( MockPendingWorkspace . latest_build . id , { expect_status : "pending" } ) ;
275
+ expect ( cancelWorkspaceMock ) . toHaveBeenCalledWith (
276
+ MockPendingWorkspace . latest_build . id ,
277
+ { expect_status : "pending" } ,
278
+ ) ;
274
279
} ) ;
275
280
276
281
it ( "requests an update when the user presses Update" , async ( ) => {
You can’t perform that action at this time.
0 commit comments