Skip to content

Commit e4e7936

Browse files
Pretty print
1 parent f079b11 commit e4e7936

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lambdas/api-handler/src/handlers/__tests__/get-letters.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ describe('API Lambda handler', () => {
2626

2727
expect(result).toEqual({
2828
statusCode: 200,
29-
body: JSON.stringify(expected),
29+
body: JSON.stringify(expected, null, 2),
3030
});
3131
});
3232

lambdas/api-handler/src/handlers/get-letters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const getLetters: Handler = async (event: APIGatewayProxyEvent): Promise<
1010

1111
return {
1212
statusCode: 200,
13-
body: JSON.stringify(response)
13+
body: JSON.stringify(response, null, 2)
1414
};
1515
}
1616

0 commit comments

Comments
 (0)