Introduce e2e test
This commit is contained in:
parent
77456ae0bc
commit
b81ff340b1
18 changed files with 805 additions and 32 deletions
|
|
@ -25,6 +25,7 @@ export async function fetchInstance() {
|
|||
}
|
||||
|
||||
export const emojiCategories = computed(() => {
|
||||
if (instance.emojis == null) return [];
|
||||
const categories = new Set();
|
||||
for (const emoji of instance.emojis) {
|
||||
categories.add(emoji.category);
|
||||
|
|
@ -33,6 +34,7 @@ export const emojiCategories = computed(() => {
|
|||
});
|
||||
|
||||
export const emojiTags = computed(() => {
|
||||
if (instance.emojis == null) return [];
|
||||
const tags = new Set();
|
||||
for (const emoji of instance.emojis) {
|
||||
for (const tag of emoji.aliases) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue