Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the default drive in the Contents Service configurable #16141

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
28 changes: 26 additions & 2 deletions packages/services/src/contents/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,8 @@
*/
readonly serverSettings: ServerConnection.ISettings;

setDefaultDrive(driveName: string): void;

/**
* Add an `IDrive` to the manager.
*/
Expand Down Expand Up @@ -637,8 +639,30 @@
constructor(options: ContentsManager.IOptions = {}) {
const serverSettings = (this.serverSettings =
options.serverSettings ?? ServerConnection.makeSettings());
this._defaultDrive = options.defaultDrive ?? new Drive({ serverSettings });
this._defaultDrive.fileChanged.connect(this._onFileChanged, this);
// Create a drive for the Jupyter Server REST API.
let contentsDrive = new Drive({ serverSettings, name: 'contents' });
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default drive name is Default

https://github.com/jupyterlab/jupyterlab/blob/main/packages/services/src/contents/index.ts#L1079

So although it is not a good name if this PR is merged, I would not change it for backward compatibility.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

this._additionalDrives.set('contents', contentsDrive);
// If a different drive as given in options, also add it.
let defaultDriveName = 'contents';
if (options.defaultDrive) {
defaultDriveName = options.defaultDrive.name;
this._additionalDrives.set(
options.defaultDrive.name,
options.defaultDrive
);
}
this.setDefaultDrive(defaultDriveName);
}

setDefaultDrive(driveName: string): void {
let drive = this._additionalDrives.get(driveName);
if (drive) {
// Remove old signal.
this._defaultDrive.fileChanged.disconnect(this._onFileChanged);

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-imageviewer)

ImageViewer › #constructor() › should create an ImageViewer

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/widget.spec.ts:66:15)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-imageviewer)

ImageViewer › #constructor() › should keep the title in sync with the file name

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/widget.spec.ts:66:15)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-imageviewer)

ImageViewer › #constructor() › should set the content after the context is ready

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/widget.spec.ts:66:15)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-imageviewer)

ImageViewer › #constructor() › should handle a change to the content

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/widget.spec.ts:66:15)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-imageviewer)

ImageViewer › #context › should be the context associated with the widget

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/widget.spec.ts:66:15)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-cell-toolbar)

@jupyterlab/cell-toolbar › CellToolbarTracker › #createNew() › should create a new cell toolbar tracker

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.createMockContext (../notebook/src/testutils.ts:241:21) at Object.<anonymous> (test/celltoolbartracker.spec.ts:154:43)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-cell-toolbar)

@jupyterlab/cell-toolbar › CellToolbarTracker › #createNew() › should create a new cell toolbar tracker

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.createMockContext (../notebook/src/testutils.ts:241:21) at Object.<anonymous> (test/celltoolbartracker.spec.ts:154:43)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-cell-toolbar)

@jupyterlab/cell-toolbar › CellToolbarTracker › #createNew() › should create a new cell toolbar tracker

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.createMockContext (../notebook/src/testutils.ts:241:21) at Object.<anonymous> (test/celltoolbartracker.spec.ts:154:43)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-fileeditor)

@jupyterlab/fileeditor › FileEditorSearchProvider › #matchesCount › should return number of matches

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/searchprovider.spec.ts:53:15)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-fileeditor)

@jupyterlab/fileeditor › FileEditorSearchProvider › #highlightNext() › should highlight next match

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/searchprovider.spec.ts:53:15)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-fileeditor)

@jupyterlab/fileeditor › FileEditorSearchProvider › #highlightNext() › should find multi-line matches

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/searchprovider.spec.ts:53:15)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-fileeditor)

@jupyterlab/fileeditor › FileEditorSearchProvider › #highlightNext() › should not focus the editor

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/searchprovider.spec.ts:53:15)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-fileeditor)

@jupyterlab/fileeditor › FileEditorSearchProvider › #highlightNext() › should loop back to first match

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/searchprovider.spec.ts:53:15)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-metadataform)

metadataform/form simple › should have only placeholder as no notebook is associated

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../notebook/src/testutils.ts:274:17) at getManager (../notebook/src/testutils.ts:49:46) at Object.<anonymous> (test/metadataFormWidget.spec.ts:61:40)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-metadataform)

metadataform/form simple › should return the metadataKeys

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../notebook/src/testutils.ts:274:17) at getManager (../notebook/src/testutils.ts:49:46) at Object.<anonymous> (test/metadataFormWidget.spec.ts:61:40)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-metadataform)

metadataform/form simple › should return the properties

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../notebook/src/testutils.ts:274:17) at getManager (../notebook/src/testutils.ts:49:46) at Object.<anonymous> (test/metadataFormWidget.spec.ts:61:40)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-metadataform)

metadataform/form simple › should set the properties

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../notebook/src/testutils.ts:274:17) at getManager (../notebook/src/testutils.ts:49:46) at Object.<anonymous> (test/metadataFormWidget.spec.ts:61:40)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-metadataform)

metadataform/form simple › should build the form

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../notebook/src/testutils.ts:274:17) at getManager (../notebook/src/testutils.ts:49:46) at Object.<anonymous> (test/metadataFormWidget.spec.ts:61:40)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-metapackage)

rendermime/registry › RenderMimeRegistry › #constructor() › should create a new rendermime instance

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at ../services/src/testutils.ts:602:15 at Object.<anonymous> (test/rendermime/registry.spec.ts:59:35)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-metapackage)

rendermime/registry › RenderMimeRegistry › #resolver › should be the resolver used by the rendermime

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at ../services/src/testutils.ts:602:15 at Object.<anonymous> (test/rendermime/registry.spec.ts:59:35)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-metapackage)

rendermime/registry › RenderMimeRegistry › #linkHandler › should be the link handler used by the rendermime

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at ../services/src/testutils.ts:602:15 at Object.<anonymous> (test/rendermime/registry.spec.ts:59:35)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-metapackage)

rendermime/registry › RenderMimeRegistry › #latexTypesetter › should be the null typesetter by default

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at ../services/src/testutils.ts:602:15 at Object.<anonymous> (test/rendermime/registry.spec.ts:59:35)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-metapackage)

rendermime/registry › RenderMimeRegistry › #latexTypesetter › should be clonable

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at ../services/src/testutils.ts:602:15 at Object.<anonymous> (test/rendermime/registry.spec.ts:59:35)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-metapackage)

rendermime/registry › RenderMimeRegistry › #createRenderer() › should create a mime renderer

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at ../services/src/testutils.ts:602:15 at Object.<anonymous> (test/rendermime/registry.spec.ts:59:35)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-metapackage)

rendermime/registry › RenderMimeRegistry › #createRenderer() › should raise an error for an unregistered mime type

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at ../services/src/testutils.ts:602:15 at Object.<anonymous> (test/rendermime/registry.spec.ts:59:35)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-metapackage)

rendermime/registry › RenderMimeRegistry › #createRenderer() › should render json data

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at ../services/src/testutils.ts:602:15 at Object.<anonymous> (test/rendermime/registry.spec.ts:59:35)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-metapackage)

rendermime/registry › RenderMimeRegistry › #createRenderer() › should send a url resolver

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at ../services/src/testutils.ts:602:15 at Object.<anonymous> (test/rendermime/registry.spec.ts:59:35)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-metapackage)

rendermime/registry › RenderMimeRegistry › #createRenderer() › should send a link handler

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at ../services/src/testutils.ts:602:15 at Object.<anonymous> (test/rendermime/registry.spec.ts:59:35)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-docmanager)

@jupyterlab/docmanager › RecentsManager › #constructor() › should create a new recents manager

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/recents.spec.ts:24:16)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-docmanager)

@jupyterlab/docmanager › RecentsManager › #isDisposed › should test whether the manager is disposed

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/recents.spec.ts:24:16)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-docmanager)

@jupyterlab/docmanager › RecentsManager › #addRecent() › should add a document to recently opened list

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/recents.spec.ts:24:16)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-docmanager)

@jupyterlab/docmanager › RecentsManager › #addRecent() › should add a document to recently closed list

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/recents.spec.ts:24:16)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-docmanager)

@jupyterlab/docmanager › RecentsManager › #addRecent() › should auto-populate root dir

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/recents.spec.ts:24:16)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-docregistry)

docregistry/default › ABCWidgetFactory › #canStartKernel › should have toolbar items

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at createFileContextWithMockedServices (src/testutils.ts:66:24) at Object.<anonymous> (test/default.spec.ts:189:66)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-docregistry)

docregistry/default › ABCWidgetFactory › #createNew() › should create a new widget given a document model and a context

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at createFileContextWithMockedServices (src/testutils.ts:66:24) at Object.<anonymous> (test/default.spec.ts:234:66)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-docregistry)

docregistry/default › ABCWidgetFactory › #createNew() › should take an optional source widget for cloning

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at createFileContextWithMockedServices (src/testutils.ts:66:24) at Object.<anonymous> (test/default.spec.ts:241:66)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-docregistry)

docregistry/default › DocumentWidget › #constructor › should set the title for the path

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/default.spec.ts:565:17)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-docregistry)

docregistry/default › DocumentWidget › #constructor › should update the title when the path changes

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/default.spec.ts:565:17)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-docregistry)

docregistry/default › DocumentWidget › #constructor › should add the dirty class when the model is dirty

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/default.spec.ts:565:17)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-docregistry)

docregistry/default › DocumentWidget › #constructor › should remove the dirty class

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/default.spec.ts:565:17)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-docregistry)

docregistry/default › DocumentWidget › #constructor › should store the context

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/default.spec.ts:565:17)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-docregistry)

docregistry/default › DocumentWidget › #revealed › should resolve after the reveal and context ready promises

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/default.spec.ts:565:17)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-docregistry)

mock › createFileContext() › should create a context without a kernel

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.createFileContextWithMockedServices (src/testutils.ts:66:24) at Object.<anonymous> (test/testutils.spec.ts:128:34)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-outputarea)

outputarea/widget › OutputArea › #future › should execute code on a kernel and send outputs to the model

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../apputils/src/testutils.ts:45:17) at getManager (../apputils/src/testutils.ts:16:53) at Object.<anonymous> (test/widget.spec.ts:272:52)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-outputarea)

outputarea/widget › OutputArea › #future › should clear existing outputs

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../apputils/src/testutils.ts:45:17) at getManager (../apputils/src/testutils.ts:16:53) at Object.<anonymous> (test/widget.spec.ts:272:52)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-outputarea)

outputarea/widget › OutputArea › .execute() › should execute code on a kernel and send outputs to the model

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../apputils/src/testutils.ts:45:17) at getManager (../apputils/src/testutils.ts:16:53) at Object.<anonymous> (test/widget.spec.ts:394:52)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-outputarea)

outputarea/widget › OutputArea › .execute() › should clear existing outputs

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../apputils/src/testutils.ts:45:17) at getManager (../apputils/src/testutils.ts:16:53) at Object.<anonymous> (test/widget.spec.ts:394:52)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-outputarea)

outputarea/widget › OutputArea › .execute() › should handle routing of display messages

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../apputils/src/testutils.ts:45:17) at getManager (../apputils/src/testutils.ts:16:53) at Object.<anonymous> (test/widget.spec.ts:394:52)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-console)

console/history › ConsoleHistory › #constructor() › should create a console history object

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../apputils/src/testutils.ts:45:17) at getManager (../apputils/src/testutils.ts:16:53) at Object.<anonymous> (test/history.spec.ts:63:48)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-console)

console/history › ConsoleHistory › #isDisposed › should get whether the object is disposed

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../apputils/src/testutils.ts:45:17) at getManager (../apputils/src/testutils.ts:16:53) at Object.<anonymous> (test/history.spec.ts:63:48)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-console)

console/history › ConsoleHistory › #session › should be the client session object

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../apputils/src/testutils.ts:45:17) at getManager (../apputils/src/testutils.ts:16:53) at Object.<anonymous> (test/history.spec.ts:63:48)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-console)

console/history › ConsoleHistory › #dispose() › should dispose the history object

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../apputils/src/testutils.ts:45:17) at getManager (../apputils/src/testutils.ts:16:53) at Object.<anonymous> (test/history.spec.ts:63:48)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-console)

console/history › ConsoleHistory › #dispose() › should be safe to dispose multiple times

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../apputils/src/testutils.ts:45:17) at getManager (../apputils/src/testutils.ts:16:53) at Object.<anonymous> (test/history.spec.ts:63:48)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-console)

console/history › ConsoleHistory › #back() › should return an empty string if no history exists

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../apputils/src/testutils.ts:45:17) at getManager (../apputils/src/testutils.ts:16:53) at Object.<anonymous> (test/history.spec.ts:63:48)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-console)

console/history › ConsoleHistory › #back() › should return previous items if they exist

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../apputils/src/testutils.ts:45:17) at getManager (../apputils/src/testutils.ts:16:53) at Object.<anonymous> (test/history.spec.ts:63:48)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-console)

console/history › ConsoleHistory › #forward() › should return an empty string if no history exists

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../apputils/src/testutils.ts:45:17) at getManager (../apputils/src/testutils.ts:16:53) at Object.<anonymous> (test/history.spec.ts:63:48)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-console)

console/history › ConsoleHistory › #forward() › should return next items if they exist

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../apputils/src/testutils.ts:45:17) at getManager (../apputils/src/testutils.ts:16:53) at Object.<anonymous> (test/history.spec.ts:63:48)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-console)

console/history › ConsoleHistory › #push() › should allow addition of history items

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../apputils/src/testutils.ts:45:17) at getManager (../apputils/src/testutils.ts:16:53) at Object.<anonymous> (test/history.spec.ts:63:48)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-filebrowser)

@jupyterlab/filebrowser › FilterFileBrowserModel › #constructor() › should construct a new filtered file browser model

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/openfiledialog.spec.ts:32:22)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-filebrowser)

@jupyterlab/filebrowser › FilterFileBrowserModel › #constructor() › should accept filter option

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/openfiledialog.spec.ts:32:22)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-filebrowser)

@jupyterlab/filebrowser › FilterFileBrowserModel › #items() › should list all elements if no filter is defined

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/openfiledialog.spec.ts:32:22)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-filebrowser)

@jupyterlab/filebrowser › FilterFileBrowserModel › #items() › should list all directories if filterDirectories is false

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/openfiledialog.spec.ts:32:22)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-filebrowser)

@jupyterlab/filebrowser › FilterFileBrowserModel › #items() › should filter files and directories if filterDirectories is true

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/openfiledialog.spec.ts:32:22)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-filebrowser)

@jupyterlab/filebrowser › FilterFileBrowserModel › #items() › should respect the filter

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/openfiledialog.spec.ts:32:22)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-filebrowser)

@jupyterlab/filebrowser › FileDialog.getOpenFiles() › should create a dialog

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/openfiledialog.spec.ts:32:22)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-filebrowser)

@jupyterlab/filebrowser › FileDialog.getOpenFiles() › should accept options

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/openfiledialog.spec.ts:32:22)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-filebrowser)

@jupyterlab/filebrowser › FileDialog.getOpenFiles() › should return one selected file

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/openfiledialog.spec.ts:32:22)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-filebrowser)

@jupyterlab/filebrowser › FileDialog.getOpenFiles() › should return current path if nothing is selected

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.<anonymous> (test/openfiledialog.spec.ts:32:22)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-cells)

cells/widget › CodeCell › .execute() › should fulfill a promise if there is no code to execute

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../apputils/src/testutils.ts:45:17) at getManager (../apputils/src/testutils.ts:16:53) at Object.<anonymous> (test/widget.spec.ts:867:52)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-cells)

cells/widget › CodeCell › .execute() › should fulfill a promise if there is code to execute

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../apputils/src/testutils.ts:45:17) at getManager (../apputils/src/testutils.ts:16:53) at Object.<anonymous> (test/widget.spec.ts:867:52)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-cells)

cells/widget › CodeCell › .execute() › should not save timing info by default

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../apputils/src/testutils.ts:45:17) at getManager (../apputils/src/testutils.ts:16:53) at Object.<anonymous> (test/widget.spec.ts:867:52)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-cells)

cells/widget › CodeCell › .execute() › should save timing info if requested

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../apputils/src/testutils.ts:45:17) at getManager (../apputils/src/testutils.ts:16:53) at Object.<anonymous> (test/widget.spec.ts:867:52)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-cells)

cells/widget › CodeCell › .execute() › should set the cell prompt properly while executing

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../apputils/src/testutils.ts:45:17) at getManager (../apputils/src/testutils.ts:16:53) at Object.<anonymous> (test/widget.spec.ts:867:52)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-lsp)

@jupyterlab/lsp › WidgetLSPAdapterTracker › should add an adapter

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.createMockContext (../notebook/src/testutils.ts:241:21) at createAdapter (test/adapters.spec.ts:357:37) at Object.<anonymous> (test/adapters.spec.ts:81:29)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-lsp)

@jupyterlab/lsp › WidgetLSPAdapterTracker › should find an adapter

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.createMockContext (../notebook/src/testutils.ts:241:21) at createAdapter (test/adapters.spec.ts:357:37) at Object.<anonymous> (test/adapters.spec.ts:92:29)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-lsp)

@jupyterlab/lsp › WidgetLSPAdapterTracker › the latest adapter should become the current adapter

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.createMockContext (../notebook/src/testutils.ts:241:21) at createAdapter (test/adapters.spec.ts:357:37) at Object.<anonymous> (test/adapters.spec.ts:101:29)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-lsp)

@jupyterlab/lsp › WidgetLSPAdapterTracker › the latest adapter should not become the current adapter

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.createMockContext (../notebook/src/testutils.ts:241:21) at createAdapter (test/adapters.spec.ts:357:37) at Object.<anonymous> (test/adapters.spec.ts:110:30)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-lsp)

@jupyterlab/lsp › WidgetLSPAdapterTracker › should emit signal after adding an adapter

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.createMockContext (../notebook/src/testutils.ts:241:21) at createAdapter (test/adapters.spec.ts:357:37) at Object.<anonymous> (test/adapters.spec.ts:128:29)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-lsp)

@jupyterlab/lsp › WidgetLSPAdapterTracker › should emit signal when the current adapter changes

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.createMockContext (../notebook/src/testutils.ts:241:21) at createAdapter (test/adapters.spec.ts:357:37) at Object.<anonymous> (test/adapters.spec.ts:140:30)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-lsp)

@jupyterlab/lsp › EditorAdapter › should create an adapter

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.createMockContext (../notebook/src/testutils.ts:241:21) at createAdapter (test/adapters.spec.ts:357:37) at Object.<anonymous> (test/adapters.spec.ts:174:35)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-lsp)

@jupyterlab/lsp › WidgetLSPAdapter › should create an adapter

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.createMockContext (../notebook/src/testutils.ts:241:21) at createMockAdapter (test/adapters.spec.ts:426:37) at Object.<anonymous> (test/adapters.spec.ts:233:39)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-lsp)

@jupyterlab/lsp › WidgetLSPAdapter › should disconnect signals on disposing

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.createMockContext (../notebook/src/testutils.ts:241:21) at createMockAdapter (test/adapters.spec.ts:426:37) at Object.<anonymous> (test/adapters.spec.ts:243:21)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-lsp)

@jupyterlab/lsp › WidgetLSPAdapter › should not update virtual document if LSP is not avaiable

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at mockConstructor.<anonymous> (../services/src/testutils.ts:311:17) at mockConstructor.<anonymous> (../services/src/testutils.ts:602:15) at Object.createMockContext (../notebook/src/testutils.ts:241:21) at createMockAdapter (test/adapters.spec.ts:426:37) at Object.<anonymous> (test/adapters.spec.ts:270:39)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-application)

plugins › autoStart plugin should be activated when application restore

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at new JupyterLab (src/lab.ts:27:9) at Object.<anonymous> (test/lab.spec.ts:24:11)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-application)

plugins › autoStart=false plugin should never be activated

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at new JupyterLab (src/lab.ts:27:9) at Object.<anonymous> (test/lab.spec.ts:24:11)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-application)

plugins › deferred plugin should not be activated right after application restore

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at new JupyterLab (src/lab.ts:27:9) at Object.<anonymous> (test/lab.spec.ts:24:11)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-application)

plugins › autoStart plugin should be activated when application restore

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at new JupyterLab (src/lab.ts:27:9) at Object.<anonymous> (test/lab.spec.ts:24:11)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-application)

plugins › autoStart=false plugin should never be activated

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at new JupyterLab (src/lab.ts:27:9) at Object.<anonymous> (test/lab.spec.ts:24:11)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-application)

plugins › deferred plugin should not be activated right after application restore

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at new JupyterLab (src/lab.ts:27:9) at Object.<anonymous> (test/lab.spec.ts:24:11)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-application)

plugins › autoStart plugin should be activated when application restore

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at new JupyterLab (src/lab.ts:27:9) at Object.<anonymous> (test/lab.spec.ts:24:11)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-application)

plugins › autoStart=false plugin should never be activated

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at new JupyterLab (src/lab.ts:27:9) at Object.<anonymous> (test/lab.spec.ts:24:11)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-application)

plugins › deferred plugin should not be activated right after application restore

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at new JupyterLab (src/lab.ts:27:9) at Object.<anonymous> (test/lab.spec.ts:24:11)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-debugger)

Debugger › #constructor() › should create a new debugger sidebar

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../docregistry/src/testutils.ts:252:17) at getManager (../docregistry/src/testutils.ts:90:27) at Object.<anonymous> (test/debugger.spec.ts:106:37)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-debugger)

Debugger › Panel › should have 5 child widgets

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../docregistry/src/testutils.ts:252:17) at getManager (../docregistry/src/testutils.ts:90:27) at Object.<anonymous> (test/debugger.spec.ts:106:37)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-debugger)

Debugger › Panel › should have 5 toolbars

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../docregistry/src/testutils.ts:252:17) at getManager (../docregistry/src/testutils.ts:90:27) at Object.<anonymous> (test/debugger.spec.ts:106:37)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-debugger)

Debugger › Panel › Variable toolbar › should have expanding icon

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../docregistry/src/testutils.ts:252:17) at getManager (../docregistry/src/testutils.ts:90:27) at Object.<anonymous> (test/debugger.spec.ts:106:37)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-debugger)

Debugger › Panel › Variable toolbar › should have title

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../docregistry/src/testutils.ts:252:17) at getManager (../docregistry/src/testutils.ts:90:27) at Object.<anonymous> (test/debugger.spec.ts:106:37)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-debugger)

Debugger › Panel › Variable toolbar › should have two buttons

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../docregistry/src/testutils.ts:252:17) at getManager (../docregistry/src/testutils.ts:90:27) at Object.<anonymous> (test/debugger.spec.ts:106:37)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-debugger)

Debugger › Panel › Callstack toolbar › should have expanding icon

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../docregistry/src/testutils.ts:252:17) at getManager (../docregistry/src/testutils.ts:90:27) at Object.<anonymous> (test/debugger.spec.ts:106:37)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-debugger)

Debugger › Panel › Callstack toolbar › should have title

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../docregistry/src/testutils.ts:252:17) at getManager (../docregistry/src/testutils.ts:90:27) at Object.<anonymous> (test/debugger.spec.ts:106:37)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-debugger)

Debugger › Panel › Callstack toolbar › should have six buttons

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../docregistry/src/testutils.ts:252:17) at getManager (../docregistry/src/testutils.ts:90:27) at Object.<anonymous> (test/debugger.spec.ts:106:37)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-debugger)

Debugger › Panel › Breakpoints toolbar › should have expanding icon

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../docregistry/src/testutils.ts:252:17) at getManager (../docregistry/src/testutils.ts:90:27) at Object.<anonymous> (test/debugger.spec.ts:106:37)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-apputils)

@jupyterlab/apputils › Toolbar › Kernel buttons › .createInterruptButton() › should add an inline svg node with the 'stop' icon

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (src/testutils.ts:45:17) at getManager (src/testutils.ts:16:53) at Object.<anonymous> (test/toolbar.spec.ts:35:52)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-apputils)

@jupyterlab/apputils › Toolbar › Kernel buttons › .createRestartButton() › should add an inline svg node with the 'refresh' icon

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (src/testutils.ts:45:17) at getManager (src/testutils.ts:16:53) at Object.<anonymous> (test/toolbar.spec.ts:35:52)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-apputils)

@jupyterlab/apputils › Toolbar › Kernel buttons › .createKernelNameItem() › should display the `'display_name'` of the kernel

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (src/testutils.ts:45:17) at getManager (src/testutils.ts:16:53) at Object.<anonymous> (test/toolbar.spec.ts:35:52)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-apputils)

@jupyterlab/apputils › Toolbar › Kernel buttons › .createKernelStatusItem() › should display a busy status if the kernel status is busy

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (src/testutils.ts:45:17) at getManager (src/testutils.ts:16:53) at Object.<anonymous> (test/toolbar.spec.ts:35:52)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-apputils)

@jupyterlab/apputils › Toolbar › Kernel buttons › .createKernelStatusItem() › should show the current status in the node title

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (src/testutils.ts:45:17) at getManager (src/testutils.ts:16:53) at Object.<anonymous> (test/toolbar.spec.ts:35:52)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-notebook)

@jupyterlab/notebook › NotebookActions › #executed › should emit when Markdown and code cells are run

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../apputils/src/testutils.ts:45:17) at getManager (../apputils/src/testutils.ts:16:53) at createContext (test/actions.spec.ts:61:51) at Object.<anonymous> (test/actions.spec.ts:67:9)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-notebook)

@jupyterlab/notebook › NotebookActions › #executed › should emit an error for a cell execution failure.

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../apputils/src/testutils.ts:45:17) at getManager (../apputils/src/testutils.ts:16:53) at createContext (test/actions.spec.ts:61:51) at Object.<anonymous> (test/actions.spec.ts:67:9)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-notebook)

@jupyterlab/notebook › NotebookActions › #executionScheduled › should emit only when code cell execution is scheduled

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../apputils/src/testutils.ts:45:17) at getManager (../apputils/src/testutils.ts:16:53) at createContext (test/actions.spec.ts:61:51) at Object.<anonymous> (test/actions.spec.ts:67:9)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-notebook)

@jupyterlab/notebook › NotebookActions › #splitCell() › should split the active cell into two cells

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../apputils/src/testutils.ts:45:17) at getManager (../apputils/src/testutils.ts:16:53) at createContext (test/actions.spec.ts:61:51) at Object.<anonymous> (test/actions.spec.ts:67:9)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-notebook)

@jupyterlab/notebook › NotebookActions › #splitCell() › should preserve leading white space in the second cell

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (../services/src/contents/index.ts:661:26) at new setDefaultDrive (../services/src/contents/index.ts:654:10) at new ServiceManager (../services/src/manager.ts:49:41) at Object.getManager (../apputils/src/testutils.ts:45:17) at getManager (../apputils/src/testutils.ts:16:53) at createContext (test/actions.spec.ts:61:51) at Object.<anonymous> (test/actions.spec.ts:67:9)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-services)

contents › #constructor() › should accept no options

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (src/contents/index.ts:661:26) at new setDefaultDrive (src/contents/index.ts:654:10) at Object.<anonymous> (test/contents/index.spec.ts:44:16)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-services)

contents › #constructor() › should accept options

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (src/contents/index.ts:661:26) at new setDefaultDrive (src/contents/index.ts:654:10) at Object.<anonymous> (test/contents/index.spec.ts:44:16)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-services)

contents › #fileChanged › should be emitted when a file changes

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (src/contents/index.ts:661:26) at new setDefaultDrive (src/contents/index.ts:654:10) at Object.<anonymous> (test/contents/index.spec.ts:44:16)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-services)

contents › #fileChanged › should include the full path for additional drives

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (src/contents/index.ts:661:26) at new setDefaultDrive (src/contents/index.ts:654:10) at Object.<anonymous> (test/contents/index.spec.ts:44:16)

Check failure on line 661 in packages/services/src/contents/index.ts

View workflow job for this annotation

GitHub Actions / JS (js-services)

contents › #isDisposed › should test whether the manager is disposed

TypeError: Cannot read properties of undefined (reading 'fileChanged') at ContentsManager.fileChanged [as setDefaultDrive] (src/contents/index.ts:661:26) at new setDefaultDrive (src/contents/index.ts:654:10) at Object.<anonymous> (test/contents/index.spec.ts:44:16)
Zsailer marked this conversation as resolved.
Show resolved Hide resolved
// Set the new Drive.
this._defaultDrive = drive;
this._defaultDrive.fileChanged.connect(this._onFileChanged, this);
}
}

/**
Expand Down