Preview Tests (#1768)

* preview testing

* removed some views that are not really testabl in UnitTests and improved other tests
This commit is contained in:
Mauro
2023-09-20 17:33:31 +02:00
committed by GitHub
parent 612a28b7e2
commit 9d91cd4fc0
294 changed files with 1312 additions and 121 deletions
@@ -26,7 +26,7 @@ extension AggregatedReaction {
private static func mockReaction(key: String, senderIDs: [String]) -> AggregatedReaction {
let senders = senderIDs
.map { id in
ReactionSender(senderID: id, timestamp: Date())
ReactionSender(senderID: id, timestamp: Date(timeIntervalSinceReferenceDate: 0))
}
return AggregatedReaction(accountOwnerID: alice, key: key, senders: senders)
}