mirror of
https://github.com/Tonejs/Tone.js
synced 2024-12-27 20:13:07 +00:00
ed71d8141b
no longer using AMD (require.js) style imports, and beginning to move to es6 "import/export" statements everywhere.
27 lines
705 B
JavaScript
27 lines
705 B
JavaScript
import Effect from "Tone/effect/Effect";
|
|
import MidSideEffect from "Tone/effect/MidSideEffect";
|
|
import Basic from "helper/Basic";
|
|
|
|
describe("MidSideEffect", function(){
|
|
|
|
Basic(MidSideEffect);
|
|
|
|
context("MidSide", function(){
|
|
|
|
it("extends Effect", function(){
|
|
var midSide = new MidSideEffect();
|
|
expect(midSide).to.be.instanceOf(Effect);
|
|
midSide.dispose();
|
|
});
|
|
|
|
it("has a mid and a side send and return", function(){
|
|
var midSide = new MidSideEffect();
|
|
expect(midSide).to.have.property("midSend");
|
|
expect(midSide).to.have.property("midReturn");
|
|
expect(midSide).to.have.property("sideSend");
|
|
expect(midSide).to.have.property("sideReturn");
|
|
midSide.dispose();
|
|
});
|
|
});
|
|
});
|
|
|