Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('should require options', () => {
let widget = new MimeDocument({
context,
rendermime: RENDERMIME,
mimeType: 'text/markdown',
renderTimeout: 1000,
dataType: 'string'
});
expect(widget).to.be.a(MimeDocument);
});