Skip to content

Commit 990ab71

Browse files
committed
amend json stringify format in test
1 parent 41bb81f commit 990ab71

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ describe("API Lambda handler", () => {
2828
jest.resetModules();
2929
});
3030

31-
it("returns 200 OK and the letter status", async () => {
31+
it("returns 200 OK and the MI information", async () => {
3232
const mockedGetMiById = getMiOperation as jest.Mock;
3333
mockedGetMiById.mockResolvedValue({
3434
data:{
@@ -75,7 +75,7 @@ describe("API Lambda handler", () => {
7575

7676
expect(result).toEqual({
7777
statusCode: 200,
78-
body: JSON.stringify(expected),
78+
body: JSON.stringify(expected, null, 2),
7979
});
8080
});
8181

0 commit comments

Comments
 (0)