We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentba1dbf3 commitacffda6Copy full SHA for acffda6
site/src/pages/WorkspacePage/WorkspacePage.test.tsx
@@ -242,7 +242,9 @@ describe("WorkspacePage", () => {
242
});
243
awaituser.click(confirmButton);
244
245
-expect(cancelWorkspaceMock).toHaveBeenCalledWith(MockStartingWorkspace.latest_build.id);
+expect(cancelWorkspaceMock).toHaveBeenCalledWith(
246
+MockStartingWorkspace.latest_build.id,
247
+);
248
249
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
274
-expect(cancelWorkspaceMock).toHaveBeenCalledWith(MockPendingWorkspace.latest_build.id,{expect_status:"pending"});
275
276
+MockPendingWorkspace.latest_build.id,
277
+{expect_status:"pending"},
278
279
280
281
it("requests an update when the user presses Update",async()=>{