discourse/lib/generators/plugin/templates/acceptance-test.js.es6.erb

10 lines
261 B
Plaintext

import { acceptance } from "helpers/qunit-helpers";
acceptance("<%= name %>", { loggedIn: true });
test("<%= name %> works", async assert => {
await visit("/admin/plugins/<%= dasherized_name %>");
assert.ok(false, "it shows the <%= name %> button");
});