Skip to content

Commit ce75ca0

Browse files
committed
Fix tests
1 parent 73dbc0f commit ce75ca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/pages/TemplatePage/TemplateEmbedPage/TemplateEmbedPage.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ test("Users can fill the parameters and copy the open in coder url", async () =>
4747
const copyButton = screen.getByRole("button", { name: /copy/i })
4848
await userEvent.click(copyButton)
4949
expect(window.navigator.clipboard.writeText).toBeCalledWith(
50-
`[![Open in Coder](http://localhost/open-in-coder.svg)](http://localhost/templates/test-template/workspace?param.first_parameter=firstParameterValue&param.second_parameter=123456)`,
50+
`[![Open in Coder](http://localhost/open-in-coder.svg)](http://localhost/templates/test-template/workspace?mode=manual&param.first_parameter=firstParameterValue&param.second_parameter=123456)`,
5151
)
5252
})

0 commit comments

Comments
 (0)