gitlab-org--gitlab-foss/spec/javascripts/ide/lib/editor_options_spec.js
2018-03-20 14:16:38 +00:00

11 lines
315 B
JavaScript

import editorOptions from '~/ide/lib/editor_options';
describe('Multi-file editor library editor options', () => {
it('returns an array', () => {
expect(editorOptions).toEqual(jasmine.any(Array));
});
it('contains readOnly option', () => {
expect(editorOptions[0].readOnly).toBeDefined();
});
});