Jelajahi Sumber

Fix test build

Steven Silvester 8 tahun lalu
induk
melakukan
6eed32d55e

+ 1 - 1
test/package.json

@@ -1,6 +1,6 @@
 {
   "private": true,
-  "name": "@jupyterlab/tests-all",
+  "name": "@jupyterlab/test-all",
   "scripts": {
     "build": "tsc && webpack",
     "coverage": "webpack --config webpack-cov.conf.js && python run-test.py karma-cov.conf.js",

+ 1 - 1
test/src/apputils/jsoneditor.spec.ts

@@ -25,7 +25,7 @@ import {
 
 import {
   JSONEditorWidget
-  } from '@jupyterlab/apputils';
+  } from '@jupyterlab/codeeditor';
 
 
 class LogEditor extends JSONEditorWidget {

+ 1 - 1
test/src/csvwidget/table.spec.ts

@@ -9,7 +9,7 @@ import {
 
 import {
   CSVModel, CSVTable, DISPLAY_LIMIT
-} from '@jupyterlab/csvwidget/table';
+} from '@jupyterlab/csvwidget';
 
 import {
   CSV_DATA

+ 1 - 1
test/src/csvwidget/toolbar.spec.ts

@@ -13,7 +13,7 @@ import {
 
 import {
   CSVToolbar, DELIMITERS
-} from '@jupyterlab/csvwidget/toolbar';
+} from '@jupyterlab/csvwidget';
 
 
 describe('csvwidget/toolbar', () => {

+ 6 - 6
test/src/notebook/default-toolbar.spec.ts

@@ -21,27 +21,27 @@ import {
 
 import {
  CodeCellWidget, MarkdownCellWidget
-} from '@jupyterlab/cells/widget';
+} from '@jupyterlab/cells';
 
 import {
   NotebookActions
-} from '@jupyterlab/notebook/actions';
+} from '@jupyterlab/notebook';
 
 import {
  ToolbarItems
-} from '@jupyterlab/notebook/default-toolbar';
+} from '@jupyterlab/notebook';
 
 import {
  INotebookModel
-} from '@jupyterlab/notebook/model';
+} from '@jupyterlab/notebook';
 
 import {
   JUPYTER_CELL_MIME
-} from '@jupyterlab/notebook/widget';
+} from '@jupyterlab/notebook';
 
 import {
  NotebookPanel
-} from '@jupyterlab/notebook/panel';
+} from '@jupyterlab/notebook';
 
 import {
   createNotebookContext

+ 2 - 2
test/src/notebook/model.spec.ts

@@ -9,7 +9,7 @@ import {
 
 import {
   CodeCellModel
-} from '@jupyterlab/cells/model';
+} from '@jupyterlab/cells';
 
 import {
   nbformat
@@ -17,7 +17,7 @@ import {
 
 import {
   NotebookModel
-} from '@jupyterlab/notebook/model';
+} from '@jupyterlab/notebook';
 
 import {
   DEFAULT_CONTENT

+ 1 - 1
test/src/renderers/latex.spec.ts

@@ -5,7 +5,7 @@ import expect = require('expect.js');
 
 import {
   removeMath, replaceMath, typeset
-} from '@jupyterlab/renderers';
+} from '@jupyterlab/rendermime';
 
 
 describe('jupyter-ui', () => {

+ 0 - 1
test/tsconfig.json

@@ -1,6 +1,5 @@
 {
   "compilerOptions": {
-    "declaration": true,
     "noImplicitAny": true,
     "noEmitOnError": true,
     "module": "commonjs",

+ 0 - 0
test/webpack.conf.js → test/webpack.config.js