8000 fix: fix test · coder/coder@85ed811 · GitHub
[go: up one dir, main page]

Skip to content

Commit 85ed811

Browse files
committed
fix: fix test
1 parent aa3dd79 commit 85ed811

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/src/pages/WorkspacePage/WorkspacePage.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ describe("WorkspacePage", () => {
305305

306306
// Check if the update was called using the values from the form
307307
await waitFor(() => {
308-
expect(API.updateWorkspace).toBeCalledWith(
308+
expect(API.updateWorkspace).toHaveBeenCalledWith(
309309
MockOutdatedWorkspace,
310310
[
311311
{
@@ -317,7 +317,7 @@ describe("WorkspacePage", () => {
317317
value: "2",
318318
},
319319
],
320-
true,
320+
false,
321321
);
322322
});
323323
});

0 commit comments

Comments
 (0)
0