소스 검색

Fix failing test

Steven Silvester 8 년 전
부모
커밋
613d380b67
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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);
         });
 
       });