debian-mirror-gitlab/spec/javascripts/ide/lib/editor_options_spec.js
2018-05-09 12:01:36 +05:30

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();
});
});