Skip to content

Commit c0bc6b2

Browse files
authored
Update web_src/js/features/repo-common.test.ts
1 parent 41ea040 commit c0bc6b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import {substituteRepoOpenWithUrl} from './repo-common.ts';
22

33
test('substituteRepoOpenWithUrl', () => {
4+
// For example: "x-github-client://openRepo/https://github.com/go-gitea/gitea"
45
expect(substituteRepoOpenWithUrl('proto://a/{url}', 'https://gitea')).toEqual('proto://a/https://gitea');
56
expect(substituteRepoOpenWithUrl('proto://a?link={url}', 'https://gitea')).toEqual('proto://a?link=https%3A%2F%2Fgitea');
67
});

0 commit comments

Comments
 (0)