@@ -32,6 +32,18 @@ const EXPECTED_KEYS = [
3232 'rulesSyncAll' ,
3333 'rulesDetectWorkspaces' ,
3434 'rulesImportFromProject' ,
35+ 'skillsListInstalled' ,
36+ 'skillsListCurated' ,
37+ 'skillsDetectWorkspaces' ,
38+ 'skillsPrepareInstall' ,
39+ 'skillsInstallCurated' ,
40+ 'skillsCreate' ,
41+ 'skillsDelete' ,
42+ 'skillsSetEnabled' ,
43+ 'skillsMigrateLegacyPreview' ,
44+ 'skillsMigrateLegacyApply' ,
45+ 'skillsSyncListConflicts' ,
46+ 'skillsSyncResolveConflict' ,
3547 'profilesList' ,
3648 'profilesGet' ,
3749 'profilesCreate' ,
@@ -51,6 +63,7 @@ const EXPECTED_KEYS = [
5163 'gitSyncStatus' ,
5264 'gitSyncConnectGitHub' ,
5365 'gitSyncConnectManual' ,
66+ 'gitSyncTestRemote' ,
5467 'gitSyncDisconnect' ,
5568 'gitSyncPush' ,
5669 'gitSyncPull' ,
@@ -136,6 +149,10 @@ describe('preload bridge composition', () => {
136149 await api . clientsClearManualConfigPath ( 'cursor' )
137150 await api . serversList ( )
138151 await api . rulesSyncAll ( )
152+ await api . gitSyncTestRemote ( {
153+ remoteUrl : 'ssh://git@github.com/owner/repo.git' ,
154+ authMethod : 'ssh' ,
155+ } )
139156 await api . settingsSet ( 'language' , 'en' )
140157 await api . backupsList ( 'cursor' )
141158 await api . filesReveal ( 'C:\\tmp\\file.txt' )
@@ -168,6 +185,10 @@ describe('preload bridge composition', () => {
168185 expect ( invoke ) . toHaveBeenCalledWith ( 'clients:clear-manual-config-path' , 'cursor' )
169186 expect ( invoke ) . toHaveBeenCalledWith ( 'servers:list' )
170187 expect ( invoke ) . toHaveBeenCalledWith ( 'rules:sync-all' )
188+ expect ( invoke ) . toHaveBeenCalledWith ( 'git-sync:test-remote' , {
189+ remoteUrl : 'ssh://git@github.com/owner/repo.git' ,
190+ authMethod : 'ssh' ,
191+ } )
171192 expect ( invoke ) . toHaveBeenCalledWith ( 'settings:set' , 'language' , 'en' )
172193 expect ( invoke ) . toHaveBeenCalledWith ( 'backups:list' , 'cursor' )
173194 expect ( invoke ) . toHaveBeenCalledWith ( 'files:reveal' , 'C:\\tmp\\file.txt' )
0 commit comments