mirror of
https://github.com/stablyai/orca.git
synced 2026-10-19 16:03:26 +00:00
test(worktree): assert omitted display name shape
This commit is contained in:
@@ -46,6 +46,7 @@ describe('worktree RPC schemas', () => {
|
||||
const parsed = WorktreeSet.parse({ worktree: 'id:r1::/repos/wt', comment: 'note' })
|
||||
|
||||
expect(parsed.displayName).toBeUndefined()
|
||||
expect(Object.prototype.hasOwnProperty.call(parsed, 'displayName')).toBe(false)
|
||||
})
|
||||
|
||||
it('ignores a non-string display name rather than persisting it', () => {
|
||||
|
||||
Reference in New Issue
Block a user