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 create a new ContentFactory', () => {
const factory = new CodeConsole.ContentFactory({ editorFactory });
expect(factory).to.be.an.instanceof(CodeConsole.ContentFactory);
});
});
it('should create a new ContentFactory', () => {
const factory = new CodeConsole.ContentFactory({ editorFactory });
expect(factory).to.be.an.instanceof(CodeConsole.ContentFactory);
});
});
it('should create a new ContentFactory', () => {
const factory = new CodeConsole.ContentFactory({ editorFactory });
expect(factory).to.be.an.instanceof(CodeConsole.ContentFactory);
});
});
it('should create a new ContentFactory', () => {
let factory = new CodeConsole.ContentFactory({ editorFactory });
expect(factory).to.be.a(CodeConsole.ContentFactory);
});
export function createConsoleFactory(): CodeConsole.IContentFactory {
return new CodeConsole.ContentFactory({ editorFactory });
}