sync for backup
This commit is contained in:
parent
1fbdf7fc9d
commit
a9916acea5
92 changed files with 35330 additions and 882 deletions
0
frontend-src/tests/integration/.gitkeep
Normal file
0
frontend-src/tests/integration/.gitkeep
Normal file
26
frontend-src/tests/integration/components/note-test.ts
Normal file
26
frontend-src/tests/integration/components/note-test.ts
Normal file
|
@ -0,0 +1,26 @@
|
|||
import { module, test } from 'qunit';
|
||||
import { setupRenderingTest } from 'frontend-src/tests/helpers';
|
||||
import { render } from '@ember/test-helpers';
|
||||
import { hbs } from 'ember-cli-htmlbars';
|
||||
|
||||
module('Integration | Component | 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`<Note />`);
|
||||
|
||||
assert.dom().hasText('');
|
||||
|
||||
// Template block usage:
|
||||
await render(hbs`
|
||||
<Note>
|
||||
template block text
|
||||
</Note>
|
||||
`);
|
||||
|
||||
assert.dom().hasText('template block text');
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue