2018-03-20 10:16:38 -04:00
|
|
|
import editorOptions from '~/ide/lib/editor_options';
|
2018-03-20 10:12:48 -04:00
|
|
|
|
|
|
|
describe('Multi-file editor library editor options', () => {
|
|
|
|
it('returns an array', () => {
|
2019-04-08 13:20:40 -04:00
|
|
|
expect(editorOptions).toEqual(expect.any(Array));
|
2018-03-20 10:12:48 -04:00
|
|
|
});
|
|
|
|
|
|
|
|
it('contains readOnly option', () => {
|
|
|
|
expect(editorOptions[0].readOnly).toBeDefined();
|
|
|
|
});
|
|
|
|
});
|