mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-30 19:09:28 +00:00
fix(desktop): unclog lint on worktree-scoped rail PR
Perfectionist import order on the changed-files card and coding-status tests, plus the padding blanks eslint wants in the new review scope tests.
This commit is contained in:
parent
2e3e9c1765
commit
87e14d1f2d
3 changed files with 4 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { type FC, useMemo } from 'react'
|
||||
import { useStore } from '@nanostores/react'
|
||||
import { type FC, useMemo } from 'react'
|
||||
|
||||
import { useSessionView } from '@/app/chat/session-view'
|
||||
import { deriveChangedFiles } from '@/components/assistant-ui/thread/changed-files'
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ import {
|
|||
$repoStatusLoading,
|
||||
_resetCodingStatusForTests,
|
||||
refreshAllRepoStatuses,
|
||||
registerRepoStatusCwd,
|
||||
refreshRepoStatus,
|
||||
registerRepoStatusCwd,
|
||||
repoStatusForCwd
|
||||
} from './coding-status'
|
||||
import { $currentCwd, $selectedStoredSessionId } from './session'
|
||||
|
|
|
|||
|
|
@ -252,6 +252,7 @@ describe('view state', () => {
|
|||
const review = stubReview({
|
||||
list: vi.fn(async () => ({ files: [file('tile.ts')] }))
|
||||
})
|
||||
|
||||
openReview('/tile-worktree')
|
||||
expect($reviewOpen.get()).toBe(true)
|
||||
expect($reviewScopeCwd.get()).toBe('/tile-worktree')
|
||||
|
|
@ -279,6 +280,7 @@ describe('view state', () => {
|
|||
const review = stubReview({
|
||||
list: vi.fn(async (cwd: string) => ({ files: [file(cwd === '/tile' ? 'tile.ts' : 'main.ts')] }))
|
||||
})
|
||||
|
||||
openReview('/tile')
|
||||
await Promise.resolve()
|
||||
await Promise.resolve()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue