mirror of
https://github.com/Tonejs/Tone.js
synced 2024-12-29 04:53:10 +00:00
9 lines
211 B
TypeScript
9 lines
211 B
TypeScript
|
import { expect } from "chai";
|
||
|
import { Offline } from "./Offline";
|
||
|
|
||
|
export function OutputAudio(callback) {
|
||
|
return Offline(callback, 0.1).then((buffer) => {
|
||
|
expect(buffer.isSilent()).to.equal(false);
|
||
|
});
|
||
|
}
|