From a17c702edf97a36e64fe4319b07b108d6f5a22a9 Mon Sep 17 00:00:00 2001 From: kris Date: Sun, 5 Apr 2026 13:23:36 +0800 Subject: [PATCH] test: assert folder archive removal on downgrade --- tests/conversation-home-items.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/conversation-home-items.test.ts b/tests/conversation-home-items.test.ts index 5f2195d..0f0482c 100644 --- a/tests/conversation-home-items.test.ts +++ b/tests/conversation-home-items.test.ts @@ -329,6 +329,10 @@ test("conversation home upgrades and downgrades a folder archive as thread count assert.ok(direct, "expected a single remaining thread to downgrade back to direct"); assert.equal(direct?.conversationType, "single_device"); + assert.equal( + items.some((item) => item.conversationType === "folder_archive" && item.folderKey === "mac-studio:boss"), + false, + ); }); test("conversation home groups multiple imported threads by folder while keeping single-thread projects direct", async () => {