We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41ea040 commit c0bc6b2Copy full SHA for c0bc6b2
web_src/js/features/repo-common.test.ts
@@ -1,6 +1,7 @@
1
import {substituteRepoOpenWithUrl} from './repo-common.ts';
2
3
test('substituteRepoOpenWithUrl', () => {
4
+ // For example: "x-github-client://openRepo/https://github.com/go-gitea/gitea"
5
expect(substituteRepoOpenWithUrl('proto://a/{url}', 'https://gitea')).toEqual('proto://a/https://gitea');
6
expect(substituteRepoOpenWithUrl('proto://a?link={url}', 'https://gitea')).toEqual('proto://a?link=https%3A%2F%2Fgitea');
7
});
0 commit comments