linstrom/frontend-reactive/tests/integration/components/note/interactions-test.ts

19 lines
586 B
TypeScript
Raw Normal View History

2024-09-23 15:09:19 +00:00
import { module, test } from "qunit";
import { setupRenderingTest } from "frontend-reactive/tests/helpers";
import { render } from "@ember/test-helpers";
import { hbs } from "ember-cli-htmlbars";
2024-09-23 07:18:35 +00:00
2024-09-23 15:09:19 +00:00
module("Integration | Component | note/interactions", function (hooks) {
setupRenderingTest(hooks);
2024-09-23 07:18:35 +00:00
2024-09-23 15:09:19 +00:00
test("it renders", async function (assert) {
// Set any properties with this.set('myProperty', 'value');
// Handle any actions with this.set('myAction', function(val) { ... });
2024-09-23 07:18:35 +00:00
2024-09-23 15:09:19 +00:00
await render(hbs`<Note::Interactions />`);
2024-09-23 07:18:35 +00:00
2024-09-23 15:09:19 +00:00
assert.dom().hasText("");
// TODO: Add tests
});
2024-09-23 07:18:35 +00:00
});