Datalayer Desktop - v0.0.2
    Preparing search index...
    • Creates a mock service manager that provides the JupyterLab service interfaces without actual execution capabilities. All service methods throw appropriate error messages indicating that kernel execution is not available.

      This mock service manager is used when:

      • Displaying notebooks without kernel execution
      • Demo or presentation modes
      • When actual kernel services are not available

      The mock includes:

      • Kernel specifications (python3 mock)
      • Disabled kernel and session management
      • Disabled contents management
      • Disabled settings and workspace management
      • Disabled terminal and nbconvert services

      Returns IManager

      A mock service manager instance

      const serviceManager = createMockServiceManager();
      // serviceManager.kernels.startNew() will throw an error
      // but serviceManager.kernelspecs.specs will return mock data