Revert "DEV: Import MessageBus from message-bus-client instead of globals"

This reverts commit 9dddbcc00d.
This commit is contained in:
Blake Erickson
2020-05-27 16:14:09 -06:00
parent 6548cd1a96
commit b10e995d9d
9 changed files with 12 additions and 21 deletions
@@ -1,6 +1,4 @@
import { acceptance } from "helpers/qunit-helpers";
import MessageBus from "message-bus-client";
acceptance("Topic Discovery", {
settings: {
show_pinned_excerpt_desktop: true
@@ -87,7 +85,7 @@ QUnit.test("Live update unread state", async assert => {
);
// Mimic a messagebus message
MessageBus.callbacks.filterBy("channel", "/latest").map(c =>
window.MessageBus.callbacks.filterBy("channel", "/latest").map(c =>
c.func({
message_type: "read",
topic_id: 11995,