Steven Silvester преди 8 години
родител
ревизия
14d702e571
променени са 2 файла, в които са добавени 7 реда и са изтрити 2 реда
  1. 0 2
      test/src/rendermime/rendermime.spec.ts
  2. 7 0
      test/src/utils.ts

+ 0 - 2
test/src/rendermime/rendermime.spec.ts

@@ -3,8 +3,6 @@
 
 import expect = require('expect.js');
 
-import json2html = require('json-to-html');
-
 import {
   JSONObject
 } from 'phosphor/lib/algorithm/json';

+ 7 - 0
test/src/utils.ts

@@ -1,6 +1,8 @@
 // Copyright (c) Jupyter Development Team.
 // Distributed under the terms of the Modified BSD License.
 
+import json2html = require('json-to-html');
+
 import {
   simulate
 } from 'simulate-event';
@@ -9,6 +11,10 @@ import {
   createServiceManager, utils, IServiceManager
 } from 'jupyter-js-services';
 
+import {
+  Widget
+} from 'phosphor/lib/ui/widget';
+
 import {
   TextModelFactory, IDocumentModel
 } from '../../lib/docregistry';
@@ -134,6 +140,7 @@ namespace Private {
   export
   const notebookFactory = new NotebookModelFactory();
 
+
   class JSONRenderer extends HTMLRenderer {
     /**
      * The mimetypes this renderer accepts.