Remove unrelated merge formatting changes

This commit is contained in:
Brennan Benson
2026-08-13 01:22:19 -07:00
parent 021a28ea77
commit 4f0dbd1291
4 changed files with 14 additions and 8 deletions
@@ -94,7 +94,9 @@ describe('OpenCode source discovery with a stalled WSL data directory', () => {
// silent [] here reads as "no OpenCode sessions" on a clean scan.
await expect(discoveries).resolves.toHaveLength(1)
expect(
issues.some((issue) => issue.agent === 'opencode' && issue.path === `${WSL_HOME}/opencode`)
issues.some(
(issue) => issue.agent === 'opencode' && issue.path === `${WSL_HOME}/opencode`
)
).toBe(true)
} finally {
restoreEnv('XDG_DATA_HOME', previousXdg)
@@ -220,7 +220,10 @@ describe('setup script prompt inspection', () => {
getSetupScriptPromptDismissalKey(remoteIdentity)
]
expect(
filterSetupScriptPromptDismissalsToValidRepos(input, new Set([localIdentity, remoteIdentity]))
filterSetupScriptPromptDismissalsToValidRepos(
input,
new Set([localIdentity, remoteIdentity])
)
).toBe(input)
})
+3 -1
View File
@@ -2787,7 +2787,9 @@ export const createGitHubSlice: StateCreator<AppState, [], [], GitHubSlice> = (s
...(errorForCache
? {
error:
errorUnchanged && previousError !== undefined ? previousError : errorForCache
errorUnchanged && previousError !== undefined
? previousError
: errorForCache
}
: {}),
...(nextFellBack ? { issueSourceFellBack: true } : {})
@@ -421,11 +421,9 @@ describe('SSH readoption catalog identity', () => {
expect(oldSetup).toBeDefined()
expect(newSetup).toBeDefined()
store
.getState()
.recordSshRepoReadoptions([
{ oldTargetId: 'ssh-old', newTargetId: 'ssh-new', repoIds: [repo.id] }
])
store.getState().recordSshRepoReadoptions([
{ oldTargetId: 'ssh-old', newTargetId: 'ssh-new', repoIds: [repo.id] }
])
const next = store.getState().projectHostSetups
expect(next).not.toBe(setups)
@@ -437,3 +435,4 @@ describe('SSH readoption catalog identity', () => {
expect(store.getState().pendingSshRepoReadoptions).toEqual([])
})
})