Skip to content

Commit 9ef6f9a

Browse files
committed
fixed test
1 parent 0edddee commit 9ef6f9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Ported/Attachments/AttachmentsSessionTest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ describe("Attachments Session", function () {
6262
assert.strictEqual(attachments.length, 3);
6363

6464
const orderedNames = [...attachments];
65-
orderedNames.sort((a, b) => a.name > b.name ? -1 : -1);
65+
orderedNames.sort((a, b) => a.name > b.name ? 1 : -1);
6666

6767
for (let i = 0; i < attachmentsInfo.length; i++) {
6868
const { name, contentType } = orderedNames[i];

0 commit comments

Comments
 (0)