ember didn't want to ember, so now it embers again

This commit is contained in:
Melody Becker 2024-09-18 13:49:23 +02:00
parent 5a82179df6
commit 876c7a2b73
56 changed files with 1715 additions and 7649 deletions

View file

@ -0,0 +1,26 @@
import { module, test } from 'qunit';
import { setupRenderingTest } from 'frontend-reactive/tests/helpers';
import { render } from '@ember/test-helpers';
import { hbs } from 'ember-cli-htmlbars';
module('Integration | Component | timeline/note', function (hooks) {
setupRenderingTest(hooks);
test('it renders', async function (assert) {
// Set any properties with this.set('myProperty', 'value');
// Handle any actions with this.set('myAction', function(val) { ... });
await render(hbs`<Timeline::Note />`);
assert.dom().hasText('');
// Template block usage:
await render(hbs`
<Timeline::Note>
template block text
</Timeline::Note>
`);
assert.dom().hasText('template block text');
});
});