mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
Fixed lint
This commit is contained in:
parent
3b49732cbb
commit
0f460a646b
@ -1,4 +1,10 @@
|
||||
import Component from '@glimmer/component';
|
||||
import {inject as service} from '@ember/service';
|
||||
|
||||
export default class KoenigCardAudioComponent extends Component {
|
||||
@service config;
|
||||
@service feature;
|
||||
@service store;
|
||||
@service membersUtils;
|
||||
@service ui;
|
||||
}
|
||||
|
@ -1,4 +1,10 @@
|
||||
import Component from '@glimmer/component';
|
||||
import {inject as service} from '@ember/service';
|
||||
|
||||
export default class KoenigCardFileComponent extends Component {
|
||||
@service config;
|
||||
@service feature;
|
||||
@service store;
|
||||
@service membersUtils;
|
||||
@service ui;
|
||||
}
|
||||
|
@ -1,4 +1,10 @@
|
||||
import Component from '@glimmer/component';
|
||||
import {inject as service} from '@ember/service';
|
||||
|
||||
export default class KoenigCardVideoComponent extends Component {
|
||||
@service config;
|
||||
@service feature;
|
||||
@service store;
|
||||
@service membersUtils;
|
||||
@service ui;
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export { default } from 'koenig-editor/components/koenig-card-audio';
|
||||
export {default} from 'koenig-editor/components/koenig-card-audio';
|
||||
|
@ -1 +1 @@
|
||||
export { default } from 'koenig-editor/components/koenig-card-video';
|
||||
export {default} from 'koenig-editor/components/koenig-card-video';
|
@ -1,27 +1,27 @@
|
||||
import { expect } from 'chai';
|
||||
import { describe, it } from 'mocha';
|
||||
import { setupRenderingTest } from 'ember-mocha';
|
||||
import { render } from '@ember/test-helpers';
|
||||
import { hbs } from 'ember-cli-htmlbars';
|
||||
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();
|
||||
describe('Integration | Component | koenig-card-audio', function () {
|
||||
setupRenderingTest();
|
||||
|
||||
it('renders', async function() {
|
||||
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 />`);
|
||||
await render(hbs`<KoenigCardAudio />`);
|
||||
|
||||
expect(this.element.textContent.trim()).to.equal('');
|
||||
expect(this.element.textContent.trim()).to.equal('');
|
||||
|
||||
// Template block usage:
|
||||
await render(hbs`
|
||||
// Template block usage:
|
||||
await render(hbs`
|
||||
<KoenigCardAudio>
|
||||
template block text
|
||||
</KoenigCardAudio>
|
||||
`);
|
||||
|
||||
expect(this.element.textContent.trim()).to.equal('template block text');
|
||||
});
|
||||
expect(this.element.textContent.trim()).to.equal('template block text');
|
||||
});
|
||||
});
|
||||
|
@ -1,27 +1,27 @@
|
||||
import { expect } from 'chai';
|
||||
import { describe, it } from 'mocha';
|
||||
import { setupRenderingTest } from 'ember-mocha';
|
||||
import { render } from '@ember/test-helpers';
|
||||
import { hbs } from 'ember-cli-htmlbars';
|
||||
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();
|
||||
describe('Integration | Component | koenig-card-file', function () {
|
||||
setupRenderingTest();
|
||||
|
||||
it('renders', async function() {
|
||||
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 />`);
|
||||
await render(hbs`<KoenigCardFile />`);
|
||||
|
||||
expect(this.element.textContent.trim()).to.equal('');
|
||||
expect(this.element.textContent.trim()).to.equal('');
|
||||
|
||||
// Template block usage:
|
||||
await render(hbs`
|
||||
// Template block usage:
|
||||
await render(hbs`
|
||||
<KoenigCardFile>
|
||||
template block text
|
||||
</KoenigCardFile>
|
||||
`);
|
||||
|
||||
expect(this.element.textContent.trim()).to.equal('template block text');
|
||||
});
|
||||
expect(this.element.textContent.trim()).to.equal('template block text');
|
||||
});
|
||||
});
|
||||
|
@ -1,27 +1,27 @@
|
||||
import { expect } from 'chai';
|
||||
import { describe, it } from 'mocha';
|
||||
import { setupRenderingTest } from 'ember-mocha';
|
||||
import { render } from '@ember/test-helpers';
|
||||
import { hbs } from 'ember-cli-htmlbars';
|
||||
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();
|
||||
describe('Integration | Component | koenig-card-video', function () {
|
||||
setupRenderingTest();
|
||||
|
||||
it('renders', async function() {
|
||||
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 />`);
|
||||
await render(hbs`<KoenigCardVideo />`);
|
||||
|
||||
expect(this.element.textContent.trim()).to.equal('');
|
||||
expect(this.element.textContent.trim()).to.equal('');
|
||||
|
||||
// Template block usage:
|
||||
await render(hbs`
|
||||
// Template block usage:
|
||||
await render(hbs`
|
||||
<KoenigCardVideo>
|
||||
template block text
|
||||
</KoenigCardVideo>
|
||||
`);
|
||||
|
||||
expect(this.element.textContent.trim()).to.equal('template block text');
|
||||
});
|
||||
expect(this.element.textContent.trim()).to.equal('template block text');
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user