diff --git a/bitchatTests/Services/ComposerDraftStoreTests.swift b/bitchatTests/Services/ComposerDraftStoreTests.swift index d4f0a603..7ef444ee 100644 --- a/bitchatTests/Services/ComposerDraftStoreTests.swift +++ b/bitchatTests/Services/ComposerDraftStoreTests.swift @@ -3,7 +3,10 @@ import Testing @testable import bitchat import BitFoundation +// Keep synchronous store assertions on the same actor as panic reset. +// Suite serialization alone does not exclude panic tests in other suites. @Suite(.serialized) +@MainActor struct ComposerDraftStoreTests { /// Isolate each test from leftover in-memory drafts. private func withCleanStore(_ body: () -> Void) {