Refactor screen share picker internals

This commit is contained in:
Fedor Indutny 2024-09-19 18:03:44 -07:00 committed by GitHub
parent 855b1c03b0
commit d0b8a2991f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 547 additions and 244 deletions

View file

@ -205,13 +205,13 @@ describe('signalRoutes', () => {
check('sgnl://show-window', result);
});
it('setIsPresenting', () => {
it('cancelPresenting', () => {
const result: ParsedSignalRoute = {
key: 'setIsPresenting',
key: 'cancelPresenting',
args: {},
};
const check = createCheck({ isRoute: true, hasWebUrl: false });
check('sgnl://set-is-presenting/', result);
check('sgnl://set-is-presenting', result);
check('sgnl://cancel-presenting/', result);
check('sgnl://cancel-presenting', result);
});
});