Skip to content

Commit 6bfdd13

Browse files
committed
Update more tests
1 parent 767e3da commit 6bfdd13

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
@@ -137,12 +137,17 @@ describe('Shell for tree view', () => {
137137
expect(shell).toBeInstanceOf(NotebookShell);
138138
});
139139

140-
it('should make all areas empty initially', () => {
141-
['main', 'top', 'left', 'right', 'menu'].forEach((area) => {
140+
it('should make some areas empty initially', () => {
141+
['main', 'left', 'right', 'menu'].forEach((area) => {
142142
const widgets = Array.from(shell.widgets(area as Shell.Area));
143143
expect(widgets.length).toEqual(0);
144144
});
145145
});
146+
147+
it('should have the skip link widget in the top area initially', () => {
148+
const widgets = Array.from(shell.widgets('top'));
149+
expect(widgets.length).toEqual(1);
150+
});
146151
});
147152

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

0 commit comments

Comments
 (0)