2018-05-09 12:01:36 +05:30
|
|
|
import editorOptions from '~/ide/lib/editor_options';
|
|
|
|
|
|
|
|
describe('Multi-file editor library editor options', () => {
|
|
|
|
it('returns an array', () => {
|
2019-07-31 22:56:46 +05:30
|
|
|
expect(editorOptions).toEqual(expect.any(Array));
|
2018-05-09 12:01:36 +05:30
|
|
|
});
|
|
|
|
|
|
|
|
it('contains readOnly option', () => {
|
|
|
|
expect(editorOptions[0].readOnly).toBeDefined();
|
|
|
|
});
|
|
|
|
});
|