mirror of
https://github.com/Tonejs/Tone.js
synced 2025-01-16 05:43:56 +00:00
efbd3c7f5f
Also add in no-unused-expression-chai rule so that chai works with tslint.
8 lines
226 B
TypeScript
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);
|
|
});
|
|
}
|