FEATURE: favorites emojis will also show in composer autocomplete (#8011)

This commit is contained in:
Joffrey JAFFEUX
2019-08-16 11:47:03 +02:00
committed by GitHub
parent 9a9e31f927
commit 936d4ce17a
5 changed files with 106 additions and 39 deletions

View File

@@ -1,11 +1,11 @@
import { acceptance } from "helpers/qunit-helpers";
import { IMAGE_VERSION as v } from "pretty-text/emoji/version";
import { resetCache } from "discourse/components/emoji-picker";
acceptance("EmojiPicker", {
loggedIn: true,
beforeEach() {
resetCache();
const store = Discourse.__container__.lookup("service:emojis-store");
store.reset();
}
});