mirror of
https://github.com/hanzoai/forum.git
synced 2026-09-30 21:51:19 +00:00
the PR is sponsored by vscode's regex support in find-and-replace 😉
16 lines
532 B
JavaScript
16 lines
532 B
JavaScript
import { render } from "@ember/test-helpers";
|
|
import { hbs } from "ember-cli-htmlbars";
|
|
import { module, test } from "qunit";
|
|
import { setupRenderingTest } from "discourse/tests/helpers/component-test";
|
|
|
|
module("Integration | Component | empty-state", function (hooks) {
|
|
setupRenderingTest(hooks);
|
|
|
|
test("it renders", async function (assert) {
|
|
await render(hbs`<EmptyState @title="title" @body="body" />`);
|
|
|
|
assert.dom("[data-test-title]").hasText("title");
|
|
assert.dom("[data-test-body]").hasText("body");
|
|
});
|
|
});
|