Skip to content

Commit 767e3da

Browse files
committed
Update tests
1 parent 0718da1 commit 767e3da

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

packages/application/test/shell.spec.ts

+7-2
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,17 @@ describe('Shell for notebooks', () => {
2828
expect(shell).toBeInstanceOf(NotebookShell);
2929
});
3030

31-
it('should make all areas empty initially', () => {
32-
['main', 'top', 'left', 'right', 'menu'].forEach((area) => {
31+
it('should make some areas empty initially', () => {
32+
['main', 'left', 'right', 'menu'].forEach((area) => {
3333
const widgets = Array.from(shell.widgets(area as Shell.Area));
3434
expect(widgets.length).toEqual(0);
3535
});
3636
});
37+
38+
it('should have the skip link widget in the top area initially', () => {
39+
const widgets = Array.from(shell.widgets('top'));
40+
expect(widgets.length).toEqual(1);
41+
});
3742
});
3843

3944
describe('#widgets()', () => {

0 commit comments

Comments
 (0)