mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-03-11 13:26:17 +00:00
async let to parallelise stuff
fix crash when the fetched db doesnt exist added loadremoteDB to asyncly fetch remotedb fixed Tasks not running on background threads remove expiration from slackresponse emoji.uiid starts out as emoji.id added filtering emojis test hopefully optimised the display of images checking if its local imessage extension ios 15+ remove the "hii!!" and "hello world" from the emojji picker
This commit is contained in:
@@ -23,4 +23,13 @@ struct StickerSlackTests {
|
||||
}
|
||||
}
|
||||
|
||||
@Test func filteringEmojis() async throws {
|
||||
let searchQueries = ["heavysob", "yay", "afsdjk", "afhjskf", "g4", "aqua-osx", "neotunes", "", "", ""]
|
||||
for query in searchQueries {
|
||||
print(query)
|
||||
hoarder.filteredEmojis = []
|
||||
hoarder.filterEmojis(by: query)
|
||||
print(hoarder.filteredEmojis.count)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user