Skip to content

Commit 4579b53

Browse files
authored
Merge pull request #9887 from gitbutlerapp/cypress-support-fix
cypress: add handler for update_feature_flags in support mocks
2 parents 7cb2cef + f95a554 commit 4579b53

File tree

1 file changed

+2
-0
lines changed
  • apps/desktop/cypress/e2e/support

1 file changed

+2
-0
lines changed

apps/desktop/cypress/e2e/support/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ Cypress.on('window:before:load', (win) => {
159159
return MOCK_USER;
160160
case 'plugin:window|theme':
161161
return 'light';
162+
case 'update_feature_flags':
163+
return await Promise.resolve();
162164
case 'get_app_settings':
163165
return MOCK_APP_SETTINGS;
164166
case 'plugin:event|unlisten':

0 commit comments

Comments
 (0)