mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Removed empty card test files
This commit is contained in:
parent
3231abd0ae
commit
7bbe83786d
3 changed files with 0 additions and 81 deletions
|
@ -1,27 +0,0 @@
|
|||
import {describe, it} from 'mocha';
|
||||
import {expect} from 'chai';
|
||||
import {hbs} from 'ember-cli-htmlbars';
|
||||
import {render} from '@ember/test-helpers';
|
||||
import {setupRenderingTest} from 'ember-mocha';
|
||||
|
||||
describe('Integration | Component | koenig-card-audio', function () {
|
||||
setupRenderingTest();
|
||||
|
||||
it('renders', async function () {
|
||||
// Set any properties with this.set('myProperty', 'value');
|
||||
// Handle any actions with this.set('myAction', function(val) { ... });
|
||||
|
||||
await render(hbs`<KoenigCardAudio />`);
|
||||
|
||||
expect(this.element.textContent.trim()).to.equal('');
|
||||
|
||||
// Template block usage:
|
||||
await render(hbs`
|
||||
<KoenigCardAudio>
|
||||
template block text
|
||||
</KoenigCardAudio>
|
||||
`);
|
||||
|
||||
expect(this.element.textContent.trim()).to.equal('template block text');
|
||||
});
|
||||
});
|
|
@ -1,27 +0,0 @@
|
|||
import {describe, it} from 'mocha';
|
||||
import {expect} from 'chai';
|
||||
import {hbs} from 'ember-cli-htmlbars';
|
||||
import {render} from '@ember/test-helpers';
|
||||
import {setupRenderingTest} from 'ember-mocha';
|
||||
|
||||
describe('Integration | Component | koenig-card-file', function () {
|
||||
setupRenderingTest();
|
||||
|
||||
it('renders', async function () {
|
||||
// Set any properties with this.set('myProperty', 'value');
|
||||
// Handle any actions with this.set('myAction', function(val) { ... });
|
||||
|
||||
await render(hbs`<KoenigCardFile />`);
|
||||
|
||||
expect(this.element.textContent.trim()).to.equal('');
|
||||
|
||||
// Template block usage:
|
||||
await render(hbs`
|
||||
<KoenigCardFile>
|
||||
template block text
|
||||
</KoenigCardFile>
|
||||
`);
|
||||
|
||||
expect(this.element.textContent.trim()).to.equal('template block text');
|
||||
});
|
||||
});
|
|
@ -1,27 +0,0 @@
|
|||
import {describe, it} from 'mocha';
|
||||
import {expect} from 'chai';
|
||||
import {hbs} from 'ember-cli-htmlbars';
|
||||
import {render} from '@ember/test-helpers';
|
||||
import {setupRenderingTest} from 'ember-mocha';
|
||||
|
||||
describe('Integration | Component | koenig-card-video', function () {
|
||||
setupRenderingTest();
|
||||
|
||||
it('renders', async function () {
|
||||
// Set any properties with this.set('myProperty', 'value');
|
||||
// Handle any actions with this.set('myAction', function(val) { ... });
|
||||
|
||||
await render(hbs`<KoenigCardVideo />`);
|
||||
|
||||
expect(this.element.textContent.trim()).to.equal('');
|
||||
|
||||
// Template block usage:
|
||||
await render(hbs`
|
||||
<KoenigCardVideo>
|
||||
template block text
|
||||
</KoenigCardVideo>
|
||||
`);
|
||||
|
||||
expect(this.element.textContent.trim()).to.equal('template block text');
|
||||
});
|
||||
});
|
Loading…
Add table
Reference in a new issue