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 take an optional contentFactory', () => {
let contentFactory = Object.create(OutputAreaWidget.defaultContentFactory);
let widget = new OutputAreaWidget({ rendermime, contentFactory, model });
expect(widget.contentFactory).to.be(contentFactory);
});