input test

This commit is contained in:
Yotam Mann 2019-08-08 14:13:47 -04:00
parent 73bc128265
commit a7d37ce720

View file

@ -24,12 +24,10 @@ export function SourceTests(Constr, args?): void {
instance.dispose();
});
it.skip("has no input", () => {
it("has no input", () => {
const instance = new Constr(args);
// has no input
expect(() => {
connectFrom().connect(instance);
}).throws(Error);
expect(instance.numberOfInputs).to.equal(0);
instance.dispose();
});