added deleteAllStickers

fix crash when the uiimage isnt valid
swift 6 in the messages extension
added fakedownloadallstickers test
added deleteallimages test
This commit is contained in:
neon443 committed 2025-10-31 15:57:40 +00:00
1 parent a55c4b8c31
commit bf3ac0eb3b
4 files changed
+34 -3

No files matched your search

+20
View File
@@ -131,4 +131,24 @@ struct PerformanceTests {
try! await doThing(on: emoji, i: &i)
}
}
@Test func fakeDownloadAllStickers() async throws {
await withDiscardingTaskGroup { group in
for emoji in hoarder.emojis {
group.addTask {
try! Data().write(to: emoji.localImageURL)
}
}
}
}
@Test func deleteAllImages() async throws {
await withDiscardingTaskGroup { group in
for emoji in hoarder.emojis {
group.addTask {
emoji.deleteImage()
}
}
}
}
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.