DEV: Fix flaky emoji-store tests

This set of tests cleared the emoji store *before* each test, while the other set - *after*. So if these were run first, they would break a single test from the other set.
This commit is contained in:
Jarek Radosz 2020-03-26 19:59:33 +01:00
parent 7d2c71dd5f
commit 05e2824a23
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ import { IMAGE_VERSION as v } from "pretty-text/emoji/version";
acceptance("EmojiPicker", {
loggedIn: true,
beforeEach() {
afterEach() {
const store = Discourse.__container__.lookup("service:emoji-store");
store.reset();
}