Update main.test.ts

Expect git@github.com: to return provider of github
pull/308/head
djarbz 9 months ago committed by GitHub
parent 21c2608681
commit 96c8b73f47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -72,7 +72,7 @@ describe("git-clone", async () => {
url,
});
expect(state.outputs.repo_dir.value).toEqual("/tmp/coder");
expect(state.outputs.git_provider.value).toEqual("");
expect(state.outputs.git_provider.value).toEqual("github");
expect(state.outputs.clone_url.value).toEqual(url);
const https_url = "https://github.com/coder/coder.git";
expect(state.outputs.web_url.value).toEqual(https_url);

Loading…
Cancel
Save