Welcome to mirror list, hosted at ThFree Co, Russian Federation.

editor_options_spec.js « lib « ide « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b07a583b7c8732e75b12c8ebfeef4ec98e19d17f (plain)
1
2
3
4
5
6
7
8
9
10
11
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();
  });
});