Skip to content

Commit

Permalink
Update tests for changed default value for lineNumbers
Browse files Browse the repository at this point in the history
  • Loading branch information
Mithil467 committed Sep 2, 2021
1 parent 76788d4 commit cd57762
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/codeeditor/test/widget.spec.ts
Expand Up @@ -88,7 +88,7 @@ describe('CodeEditorWrapper', () => {

describe('#editor', () => {
it('should be a a code editor', () => {
expect(widget.editor.getOption('lineNumbers')).toBe(false);
expect(widget.editor.getOption('lineNumbers')).toBe(true);
});
});

Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror/test/editor.spec.ts
Expand Up @@ -120,7 +120,7 @@ describe('CodeMirrorEditor', () => {

describe('#getOption()', () => {
it('should get whether line numbers should be shown', () => {
expect(editor.getOption('lineNumbers')).toBe(false);
expect(editor.getOption('lineNumbers')).toBe(true);
});

it('should get whether horizontally scrolling should be used', () => {
Expand Down

0 comments on commit cd57762

Please sign in to comment.