Skip to content

Commit 71b949b

Browse files
committed
fixup! fixup! fixup! fix(tracing): Add missing attributes in vercel-ai spans (#18333)
1 parent 346d3b3 commit 71b949b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/test/lib/utils/vercelai-utils.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ describe('vercel-ai-utils', () => {
4545
nothing: 'that we know how to handle',
4646
}),
4747
),
48-
).toBe(undefined);
48+
).toStrictEqual([]);
4949
});
5050

5151
it('should not break on invalid json', () => {
52-
expect(convertPromptToMessages('this is not json')).toBe(undefined);
52+
expect(convertPromptToMessages('this is not json')).toStrictEqual([]);
5353
});
5454
});
5555
});

0 commit comments

Comments
 (0)