Skip to content

Commit de8b96c

Browse files
committed
fix(core): format code for better readability in toSerializableFormat methods
1 parent 5667123 commit de8b96c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

packages/core/src/types.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,9 @@ export class ExecutionDump implements IExecutionDump {
521521
*
522522
* @returns Serializable version of the execution dump
523523
*/
524-
async toSerializableFormat(options?: { inlineScreenshots?: boolean }): Promise<IExecutionDump> {
524+
async toSerializableFormat(options?: {
525+
inlineScreenshots?: boolean;
526+
}): Promise<IExecutionDump> {
525527
const inlineScreenshots = options?.inlineScreenshots ?? false;
526528

527529
// Deep clone the data using JSON serialization with custom replacer
@@ -877,7 +879,9 @@ export class GroupedActionDump implements IGroupedActionDump {
877879
// Serialize executions with inline base64 screenshots
878880
const serializedExecutions: any[] = [];
879881
for (const execution of this.executions) {
880-
const serialized = await execution.toSerializableFormat({ inlineScreenshots: true });
882+
const serialized = await execution.toSerializableFormat({
883+
inlineScreenshots: true,
884+
});
881885
serializedExecutions.push(serialized);
882886
}
883887

0 commit comments

Comments
 (0)