mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 01:42:29 +03:00
8bc653802d
Promoted our beta editor to the default editor. Keep an eye on (or subscribe to) https://ghost.org/changelog/ for release announcements with full details. - moved the beta editor (Lexical-based editor) to the default editor; all pages and posts will now use it - all mobiledoc (previous editor) posts will remain mobiledoc until opened in the editor at which point will be converted to Lexical on the fly and open in the new editor
27 lines
654 B
JavaScript
27 lines
654 B
JavaScript
import Application from 'ghost-admin/app';
|
|
import config from 'ghost-admin/config/environment';
|
|
import registerWaiter from 'ember-raf-scheduler/test-support/register-waiter';
|
|
import start from 'ember-exam/test-support/start';
|
|
import {setApplication} from '@ember/test-helpers';
|
|
|
|
import chai from 'chai';
|
|
import chaiDom from 'chai-dom';
|
|
chai.use(chaiDom);
|
|
|
|
// stub loaded external module to avoid loading of external dep
|
|
window['@tryghost/koenig-lexical'] = {
|
|
KoenigComposer: () => null,
|
|
KoenigEditor: () => null
|
|
};
|
|
|
|
setApplication(Application.create(config.APP));
|
|
|
|
registerWaiter();
|
|
|
|
mocha.setup({
|
|
timeout: 15000,
|
|
slow: 500
|
|
});
|
|
|
|
start();
|