mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-11-22 04:19:40 +00:00
style(test): prettier on the Speechmatics provider test
This commit is contained in:
@@ -11,7 +11,11 @@ function buildFile(contents: string, name: string, type: string) {
|
||||
return new File([Buffer.from(contents)], name, { type });
|
||||
}
|
||||
|
||||
function immediateTimeout(callback: (...args: unknown[]) => void, _ms?: number, ...args: unknown[]) {
|
||||
function immediateTimeout(
|
||||
callback: (...args: unknown[]) => void,
|
||||
_ms?: number,
|
||||
...args: unknown[]
|
||||
) {
|
||||
if (typeof callback === "function") callback(...args);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user