mirror of
https://github.com/Tonejs/Tone.js
synced 2024-12-27 20:13:07 +00:00
8 lines
238 B
TypeScript
8 lines
238 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(), "no audio").to.equal(false);
|
|
});
|
|
}
|