We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15169a0 commit 02c7ee0Copy full SHA for 02c7ee0
src/__tests__/NotebookPicker.spec.ts
@@ -77,7 +77,7 @@ describe('NotebookPicker', () => {
77
78
it('should not call fromJSON if selected notebook is invalid', async () => {
79
const getMetadata = panel.context.model.getMetadata as jest.Mock;
80
- getMetadata.mockReturnValue({ notebooks: {} });
+ getMetadata.mockReturnValue({ notebooks: {}, notebook_names: [] });
81
82
const select = document.querySelector('select') as HTMLSelectElement;
83
simulate(select, 'change', { target: { value: 'nonexistent' } });
0 commit comments