Tone.js/test/effect/StereoEffect.js
tambien ed71d8141b amd to es6 import/export
no longer using AMD (require.js) style imports, and beginning to move to es6 "import/export" statements everywhere.
2019-01-27 13:05:20 -05:00

27 lines
703 B
JavaScript

import Effect from "Tone/effect/Effect";
import StereoEffect from "Tone/effect/StereoEffect";
import Basic from "helper/Basic";
describe("StereoEffect", function(){
Basic(StereoEffect);
context("Stereo", function(){
it("extends Effect", function(){
var stereo = new StereoEffect();
expect(stereo).to.be.instanceOf(Effect);
stereo.dispose();
});
it("has a mid and a side send and return", function(){
var stereo = new StereoEffect();
expect(stereo).to.have.property("effectSendL");
expect(stereo).to.have.property("effectSendR");
expect(stereo).to.have.property("effectReturnL");
expect(stereo).to.have.property("effectReturnR");
stereo.dispose();
});
});
});