debian-mirror-gitlab/spec/javascripts/ide/lib/editor_options_spec.js

12 lines
315 B
JavaScript
Raw Normal View History

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', () => {
expect(editorOptions).toEqual(jasmine.any(Array));
});
it('contains readOnly option', () => {
expect(editorOptions[0].readOnly).toBeDefined();
});
});