gitlab-org--gitlab-foss/spec/frontend/ide/lib/editor_options_spec.js

12 lines
314 B
JavaScript

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