Browse Source

Fix failing test

Steven Silvester 8 years ago
parent
commit
613d380b67
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/codemirror/factory.ts
  2. 1 1
      test/src/notebook/cells/widget.spec.ts

+ 1 - 1
src/codemirror/factory.ts

@@ -6,7 +6,7 @@ import {
 } from '../codeeditor';
 
 import {
-  CodeMirrorEditor, DEFAULT_CODEMIRROR_THEME
+  CodeMirrorEditor
 } from './editor';
 
 

+ 1 - 1
test/src/notebook/cells/widget.spec.ts

@@ -367,7 +367,7 @@ describe('notebook/cells/widget', () => {
 
         it('should create a code editor widget', () => {
           let editor = renderer.createCellEditor(model);
-          expect(editor).to.be.a(CodeCellWidget);
+          expect(editor).to.be.a(CodeEditorWidget);
         });
 
       });