瀏覽代碼

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