neues leeres Projekt aufgesetzt und Grundstruktur implementiert

This commit is contained in:
2020-05-28 19:09:07 +02:00
parent de1fa80ab8
commit aff7e6a04f
14 changed files with 698 additions and 5 deletions
@@ -0,0 +1,26 @@
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render } from '@ember/test-helpers';
import { hbs } from 'ember-cli-htmlbars';
module('Integration | Component | jumbo', 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`<Jumbo />`);
assert.equal(this.element.textContent.trim(), '');
// Template block usage:
await render(hbs`
<Jumbo>
template block text
</Jumbo>
`);
assert.equal(this.element.textContent.trim(), 'template block text');
});
});
@@ -0,0 +1,26 @@
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render } from '@ember/test-helpers';
import { hbs } from 'ember-cli-htmlbars';
module('Integration | Component | produkte', 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`<Produkte />`);
assert.equal(this.element.textContent.trim(), '');
// Template block usage:
await render(hbs`
<Produkte>
template block text
</Produkte>
`);
assert.equal(this.element.textContent.trim(), 'template block text');
});
});
@@ -0,0 +1,26 @@
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render } from '@ember/test-helpers';
import { hbs } from 'ember-cli-htmlbars';
module('Integration | Component | rezepte', 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`<Rezepte />`);
assert.equal(this.element.textContent.trim(), '');
// Template block usage:
await render(hbs`
<Rezepte>
template block text
</Rezepte>
`);
assert.equal(this.element.textContent.trim(), 'template block text');
});
});
@@ -0,0 +1,26 @@
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render } from '@ember/test-helpers';
import { hbs } from 'ember-cli-htmlbars';
module('Integration | Component | zettel', 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`<Zettel />`);
assert.equal(this.element.textContent.trim(), '');
// Template block usage:
await render(hbs`
<Zettel>
template block text
</Zettel>
`);
assert.equal(this.element.textContent.trim(), 'template block text');
});
});