mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 21:40:39 +03:00
Removed empty card test files
This commit is contained in:
parent
3231abd0ae
commit
7bbe83786d
@ -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…
Reference in New Issue
Block a user