Преглед изворни кода

Fix layout restorer test build.

Afshin Darian пре 6 година
родитељ
комит
a647fe4263
1 измењених фајлова са 5 додато и 5 уклоњено
  1. 5 5
      tests/test-application/src/layoutrestorer.spec.ts

+ 5 - 5
tests/test-application/src/layoutrestorer.spec.ts

@@ -3,7 +3,7 @@
 
 import { expect } from 'chai';
 
-import { LabShell, LayoutRestorer } from '@jupyterlab/application/src';
+import { ILabShell, LayoutRestorer } from '@jupyterlab/application/src';
 
 import { InstanceTracker } from '@jupyterlab/apputils';
 
@@ -63,7 +63,7 @@ describe('apputils', () => {
         });
         const currentWidget = new Widget();
         const mode: DockPanel.Mode = 'single-document';
-        const dehydrated: LabShell.ILayout = {
+        const dehydrated: ILabShell.ILayout = {
           mainArea: { currentWidget, dock: null, mode },
           leftArea: { collapsed: true, currentWidget: null, widgets: null },
           rightArea: { collapsed: true, currentWidget: null, widgets: null }
@@ -98,7 +98,7 @@ describe('apputils', () => {
         });
         const currentWidget = new Widget();
         // The `fresh` attribute is only here to check against the return value.
-        const dehydrated: LabShell.ILayout = {
+        const dehydrated: ILabShell.ILayout = {
           fresh: false,
           mainArea: { currentWidget: null, dock: null, mode: null },
           leftArea: {
@@ -159,7 +159,7 @@ describe('apputils', () => {
           registry: new CommandRegistry(),
           state: new StateDB({ namespace: NAMESPACE })
         });
-        const dehydrated: LabShell.ILayout = {
+        const dehydrated: ILabShell.ILayout = {
           mainArea: { currentWidget: null, dock: null, mode: null },
           leftArea: { currentWidget: null, collapsed: true, widgets: null },
           rightArea: { collapsed: true, currentWidget: null, widgets: null }
@@ -180,7 +180,7 @@ describe('apputils', () => {
         });
         const currentWidget = new Widget();
         // The `fresh` attribute is only here to check against the return value.
-        const dehydrated: LabShell.ILayout = {
+        const dehydrated: ILabShell.ILayout = {
           fresh: false,
           mainArea: { currentWidget: null, dock: null, mode: null },
           leftArea: {