mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-03-11 13:26:17 +00:00
delete all emojis test
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user