mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 00:38:28 +00:00
chore: Fix types in tests 37/N.
This commit is contained in:
@@ -21,7 +21,7 @@ beforeAll(async () => {
|
||||
* Create a mock session JSONL file with various entry types
|
||||
*/
|
||||
function createMockSessionContent(
|
||||
entries: Array<{ role: string; content: string } | { type: string }>,
|
||||
entries: Array<{ role: string; content: string } | ({ type: string } & Record<string, unknown>)>,
|
||||
): string {
|
||||
return entries
|
||||
.map((entry) => {
|
||||
|
||||
Reference in New Issue
Block a user