diff --git a/packages/core/src/core.ts b/packages/core/src/core.ts index 4595da57..9d0c4e19 100644 --- a/packages/core/src/core.ts +++ b/packages/core/src/core.ts @@ -324,7 +324,10 @@ export function endGroup(): void { * @param name The name of the group * @param fn The function to wrap in the group */ -export async function group(name: string, fn: () => T | Promise): Promise { +export async function group( + name: string, + fn: () => T | Promise +): Promise { startGroup(name) let result: T