mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
6d4d6cbc51
refs https://github.com/TryGhost/Ghost/issues/9311 - add a basic HTML card that renders a CodeMirror editor - adjust styles so that CodeMirror styles for the markdown editor don't affect CodeMirror instances inside Koenig
25 lines
779 B
JavaScript
25 lines
779 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-slash-menu', function () {
|
|
setupComponentTest('koenig-slash-menu', {
|
|
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-slash-menu}}
|
|
// template content
|
|
// {{/koenig-slash-menu}}
|
|
// `);
|
|
|
|
this.render(hbs`{{koenig-slash-menu}}`);
|
|
expect(this.$()).to.have.length(1);
|
|
});
|
|
});
|