test(session): name the wrapper pass-through assertion precisely
This case calls only liftToolResult; the native validator has separate coverage. Name the behavior actually asserted so the test title does not claim both paths are covered by one assertion. Assertions and production behavior are unchanged.
This commit is contained in:
1 parent
3e31760bc7
commit
7528528007
1 file changed
+1
-1
@@ -157,7 +157,7 @@ describe('V4 tool-role view and lift', () => {
|
||||
expect(() => liftToolResult(row)).toThrow(/tool-result isError must be boolean/)
|
||||
})
|
||||
|
||||
it('passes non-tool rows through both transforms', () => {
|
||||
it('passes non-tool rows through the wrapper conversion', () => {
|
||||
const row = event(0, 'user/message', { content: [], source: { kind: 'user' }, role: 'user', id: 'u' })
|
||||
expect(liftToolResult(row)).toBe(row)
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user