mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-23 16:36:23 +00:00
fmt(js): prettier pass on the new review tests
This commit is contained in:
parent
cd24efec61
commit
7d757cf7e2
2 changed files with 3 additions and 5 deletions
|
|
@ -24,10 +24,7 @@ describe('seedBootEnvironment', () => {
|
|||
})
|
||||
|
||||
it('never seeds over explicit user signals', () => {
|
||||
for (const preset of [
|
||||
{ HERMES_TUI_THEME: 'dark' },
|
||||
{ HERMES_TUI_LIGHT: '1' }
|
||||
] as NodeJS.ProcessEnv[]) {
|
||||
for (const preset of [{ HERMES_TUI_THEME: 'dark' }, { HERMES_TUI_LIGHT: '1' }] as NodeJS.ProcessEnv[]) {
|
||||
const env = { ...preset }
|
||||
const seeded = seedBootEnvironment(cache({ background: '#ffffff', mode: 'light' }), env)
|
||||
|
||||
|
|
|
|||
|
|
@ -380,7 +380,8 @@ describe('applyDisplay → voice.record_key (#18994)', () => {
|
|||
// (quietRpc → null) left the revision recorded as applied, and no subsequent
|
||||
// poll retried it until an unrelated MCP edit.
|
||||
describe('syncMcpReload (revision-aware ack)', () => {
|
||||
const gwOk = (payload: unknown) => ({ request: vi.fn(() => Promise.resolve(payload)), on: vi.fn(), off: vi.fn() }) as any
|
||||
const gwOk = (payload: unknown) =>
|
||||
({ request: vi.fn(() => Promise.resolve(payload)), on: vi.fn(), off: vi.fn() }) as any
|
||||
|
||||
const freshState = (accepted = 'rev-a'): McpRevState => ({ accepted, inFlight: false })
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue