Tone.js/test/helper/OutputAudio.ts
Garren Smith efbd3c7f5f Fix linting issues
Also add in no-unused-expression-chai rule so that chai works with
tslint.
2019-06-23 12:53:57 +02:00

8 lines
226 B
TypeScript

import { expect } from "chai";
import { Offline } from "./Offline";
export function OutputAudio(callback): Promise<void> {
return Offline(callback, 0.1).then((buffer) => {
expect(buffer.isSilent()).to.equal(false);
});
}