mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
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:
parent
7d2c71dd5f
commit
05e2824a23
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user