diff --git a/test/helper/Offline.ts b/test/helper/Offline.ts index 28914fd55..341456f79 100644 --- a/test/helper/Offline.ts +++ b/test/helper/Offline.ts @@ -7,8 +7,7 @@ import { isArray, isFunction } from "Tone/core/util/TypeCheck"; type ReturnFunction = (time: Seconds) => void; export async function Offline( - callback: (context: OfflineContext) => - void | ReturnFunction | ReturnFunction[] | Promise | void, + callback: (context: OfflineContext) => void | ReturnFunction | ReturnFunction[] | Promise | void, duration = 0.1, channels = 1, sampleRate: number = 44100, ): Promise { const originalContext = getContext();