Skip to content

Commit

Permalink
Fix layout restorer test build.
Browse files Browse the repository at this point in the history
  • Loading branch information
afshin committed Jan 28, 2019
1 parent 975b2c7 commit a647fe4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/test-application/src/layoutrestorer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down Expand Up @@ -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 }
Expand Down Expand Up @@ -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: {
Expand Down Expand Up @@ -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 }
Expand All @@ -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: {
Expand Down

0 comments on commit a647fe4

Please sign in to comment.