mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 00:27:58 +00:00
input test
This commit is contained in:
parent
73bc128265
commit
a7d37ce720
1 changed files with 2 additions and 4 deletions
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue