2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00
discourse/test/javascripts/components/ace-editor-test.js.es6
2017-06-15 10:12:07 -04:00

19 lines
517 B
JavaScript

import componentTest from 'helpers/component-test';
moduleForComponent('ace-editor', {integration: true});
componentTest('css editor', {
template: '{{ace-editor mode="css"}}',
test(assert) {
assert.expect(1);
assert.ok(this.$('.ace_editor').length, 'it renders the ace editor');
}
});
componentTest('html editor', {
template: '{{ace-editor mode="html" content="<b>wat</b>"}}',
test(assert) {
assert.expect(1);
assert.ok(this.$('.ace_editor').length, 'it renders the ace editor');
}
});