mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Fix captcha route parsing
This commit is contained in:
@@ -106,12 +106,14 @@ describe('signalRoutes', () => {
|
||||
});
|
||||
|
||||
it('captcha', () => {
|
||||
const captchaId =
|
||||
'signal-hcaptcha.foo-bar_baz.challenge.foo-bar_baz.foo-bar_baz';
|
||||
const result: ParsedSignalRoute = {
|
||||
key: 'captcha',
|
||||
args: { captchaId: 'foobar' },
|
||||
args: { captchaId },
|
||||
};
|
||||
const check = createCheck({ hasWebUrl: false });
|
||||
check('signalcaptcha://foobar', result);
|
||||
check(`signalcaptcha://${captchaId}`, result);
|
||||
});
|
||||
|
||||
it('linkCall', () => {
|
||||
|
||||
Reference in New Issue
Block a user