mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-05 09:50:34 +03:00
08179545ab
no issue - added gallery card (initial implementation) - supports upto 9 images in gallery - max 3 images per row - fixed gh-uploaded error handling for generic errors - ignore jsconfig.json
25 lines
789 B
JavaScript
25 lines
789 B
JavaScript
import hbs from 'htmlbars-inline-precompile';
|
|
import {describe, it} from 'mocha';
|
|
import {expect} from 'chai';
|
|
import {setupComponentTest} from 'ember-mocha';
|
|
|
|
describe('Integration: Component: koenig-card-gallery', function () {
|
|
setupComponentTest('koenig-card-gallery', {
|
|
integration: true
|
|
});
|
|
|
|
it.skip('renders', function () {
|
|
// Set any properties with this.set('myProperty', 'value');
|
|
// Handle any actions with this.on('myAction', function(val) { ... });
|
|
// Template block usage:
|
|
// this.render(hbs`
|
|
// {{#koenig-card-gallery}}
|
|
// template content
|
|
// {{/koenig-card-gallery}}
|
|
// `);
|
|
|
|
this.render(hbs`{{koenig-card-gallery}}`);
|
|
expect(this.$()).to.have.length(1);
|
|
});
|
|
});
|