Ver código fonte

Fix failing test

Steven Silvester 8 anos atrás
pai
commit
613d380b67

+ 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);
         });
 
       });