discourse-subscriptions/test/javascripts/acceptance/plugin-outlets-test.js.es6

17 lines
339 B
JavaScript

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