How to use the @jupyterlab/outputarea.OutputAreaModel.defaultContentFactory function in @jupyterlab/outputarea

To help you get started, we’ve selected a few @jupyterlab/outputarea examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jupyterlab / jupyterlab-data-explorer / tests / test-outputarea / src / model.spec.ts View on Github external
it('should be the content factory used by the model', () => {
        expect(model.contentFactory).to.equal(
          OutputAreaModel.defaultContentFactory
        );
      });
    });
github yuvipanda / simplest-notebook / test / src / outputarea / model.spec.ts View on Github external
it('should be the content factory used by the model', () => {
        expect(model.contentFactory).to.be(OutputAreaModel.defaultContentFactory);
      });
github yuvipanda / simplest-notebook / test / src / outputarea / model.spec.ts View on Github external
it('should be an instance of ContentFactory', () => {
      expect(OutputAreaModel.defaultContentFactory).to.be.an(OutputAreaModel.ContentFactory);
    });
github jupyterlab / jupyterlab-data-explorer / tests / test-outputarea / src / model.spec.ts View on Github external
it('should be an instance of ContentFactory', () => {
      expect(OutputAreaModel.defaultContentFactory).to.be.an.instanceof(
        OutputAreaModel.ContentFactory
      );
    });
  });
github jupyterlab / jupyterlab / test / src / outputarea / model.spec.ts View on Github external
it('should be an instance of ContentFactory', () => {
      expect(OutputAreaModel.defaultContentFactory).to.be.an(OutputAreaModel.ContentFactory);
    });
github jupyterlab / jupyterlab / test / src / outputarea / model.spec.ts View on Github external
it('should be the content factory used by the model', () => {
        expect(model.contentFactory).to.be(OutputAreaModel.defaultContentFactory);
      });