Skip to content

Commit 471c106

Browse files
committed
test(server): sort collected attachment ids without mutation
1 parent 0987bf5 commit 471c106

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/server/src/orchestration-v2/TurnStartReads.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ it.effect.each(["sqlite"] as const)(
406406
},
407407
},
408408
});
409-
assert.deepEqual((yield* store.getThreadAttachmentIds(threadId)).sort(), [
409+
assert.deepEqual((yield* store.getThreadAttachmentIds(threadId)).toSorted(), [
410410
"answer-document",
411411
"answer-image",
412412
"attachment:old",

0 commit comments

Comments
 (0)