Skip to content

Commit f46d188

Browse files
Update site/src/pages/WorkspaceBuildPage/WorkspaceBuildPage.test.tsx
Co-authored-by: Abhineet Jain <AbhineetJain@users.noreply.github.com>
1 parent 700b591 commit f46d188

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/pages/WorkspaceBuildPage/WorkspaceBuildPage.test.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { WorkspaceBuildPage } from "./WorkspaceBuildPage"
99

1010
describe("WorkspaceBuildPage", () => {
1111
it("renders the stats and logs", async () => {
12-
const server = new WS("ws://localhost/api/v2/workspacebuilds/" + MockWorkspaceBuild.id + "/logs")
12+
const server = new WS(`ws://localhost/api/v2/workspacebuilds/${MockWorkspaceBuild.id}/logs`)
1313
renderWithAuth(<WorkspaceBuildPage />, {
1414
route: `/@${MockWorkspace.owner_name}/${MockWorkspace.name}/builds/${MockWorkspace.latest_build.build_number}`,
1515
path: "/@:username/:workspace/builds/:buildNumber",

0 commit comments

Comments
 (0)