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 be the content factory used by the model', () => {
expect(model.contentFactory).to.equal(
OutputAreaModel.defaultContentFactory
);
});
});
it('should be the content factory used by the model', () => {
expect(model.contentFactory).to.be(OutputAreaModel.defaultContentFactory);
});
it('should be an instance of ContentFactory', () => {
expect(OutputAreaModel.defaultContentFactory).to.be.an(OutputAreaModel.ContentFactory);
});
it('should be an instance of ContentFactory', () => {
expect(OutputAreaModel.defaultContentFactory).to.be.an.instanceof(
OutputAreaModel.ContentFactory
);
});
});
it('should be an instance of ContentFactory', () => {
expect(OutputAreaModel.defaultContentFactory).to.be.an(OutputAreaModel.ContentFactory);
});
it('should be the content factory used by the model', () => {
expect(model.contentFactory).to.be(OutputAreaModel.defaultContentFactory);
});