Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
describe(`${item.prototype.constructor.name}`, () => {
if (item.prototype instanceof Class) {
classDef("composite", item);
}
if (item.prototype instanceof HTMLWidget || item.prototype instanceof SVGWidget) {
switch (item.prototype.constructor) {
case MultiChart:
render(new MultiChart()
.columns(data.Pivot.subjects.columns)
.data(data.Pivot.subjects.data)
.chartType("COLUMN")
);
case Dermatology:
case MegaChart:
case MultiChartPanel:
break;
default:
it("Missing test", () => {
expect(false).to.be.true;
});
}
}
});
}