diff --git a/RealmSwift/Tests/ProjectionTests.swift b/RealmSwift/Tests/ProjectionTests.swift index 6a7ef98903..8bdb5071c8 100644 --- a/RealmSwift/Tests/ProjectionTests.swift +++ b/RealmSwift/Tests/ProjectionTests.swift @@ -1590,6 +1590,7 @@ class ProjectionTests: TestCase, @unchecked Sendable { observeSetChange(obs, "mapOptUuid") { obj.mapOptUuid.removeObject(for: "key") } } + @MainActor func testObserveOnActor() async throws { let projection = simpleProjection() let ex = expectation(description: "got change")