How to use the @jupyterlab/docregistry.MimeDocument function in @jupyterlab/docregistry

To help you get started, we’ve selected a few @jupyterlab/docregistry 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 yuvipanda / simplest-notebook / test / src / docregistry / default.spec.ts View on Github external
it('should require options', () => {
        let widget = new MimeDocument({
          context,
          rendermime: RENDERMIME,
          mimeType: 'text/markdown',
          renderTimeout: 1000,
          dataType: 'string'
        });
        expect(widget).to.be.a(MimeDocument);
      });