discourse-subscriptions/test/javascripts/acceptance/plugin-outlets-test.js.es6
2020-01-10 14:24:39 +11:00

17 lines
351 B
JavaScript

import { acceptance } from "helpers/qunit-helpers";
acceptance("Discourse Subscriptions", {
settings: {
discourse_subscriptions_extra_nav_subscribe: true
}
});
QUnit.test("plugin outlets", async assert => {
await visit("/");
assert.ok(
$("#navigation-bar .discourse-patrons-subscribe").length,
"has a subscribe button"
);
});