mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-11-30 20:54:51 +00:00
delete all emojis test
This commit is contained in:
1 file changed
+10
@@ -21,6 +21,16 @@ struct StickerSlackTests {
|
|||||||
#expect(goodEmoji.sticker!.validate(), "should be true")
|
#expect(goodEmoji.sticker!.validate(), "should be true")
|
||||||
badEmoji.deleteImage()
|
badEmoji.deleteImage()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test func deleteAllEmojis() async throws {
|
||||||
|
await withDiscardingTaskGroup { group in
|
||||||
|
for emoji in hoarder.emojis {
|
||||||
|
group.addTask {
|
||||||
|
emoji.deleteImage()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
struct PerformanceTests {
|
struct PerformanceTests {
|
||||||
|
|||||||