Skip to content

Commit 41bb81f

Browse files
committed
fix type errors due to casing
1 parent 2978aad commit 41bb81f

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Context } from "aws-lambda";
22
import { mockDeep } from "jest-mock-extended";
33
import pino from "pino";
44
import { MIRepository } from "@internal/datastore/src";
5-
import { gettMI as getMiOperation } from "../../services/mi-operations";
5+
import { getMI as getMiOperation } from "../../services/mi-operations";
66
import { makeApiGwEvent } from "./utils/test-utils";
77
import { ApiErrorDetail } from "../../contracts/errors";
88
import NotFoundError from "../../errors/not-found-error";
@@ -55,7 +55,7 @@ describe("API Lambda handler", () => {
5555
pathParameters: { id: "id1" },
5656
});
5757

58-
const getMi = createGetMiHandler(mockedDeps);
58+
const getMi = createGetMIHandler(mockedDeps);
5959
const result = await getMi(event, mockDeep<Context>(), jest.fn());
6060

6161
const expected = {
@@ -96,7 +96,7 @@ describe("API Lambda handler", () => {
9696
pathParameters: { id: "id1" },
9797
});
9898

99-
const getMi = createGetMiHandler(mockedDeps);
99+
const getMi = createGetMIHandler(mockedDeps);
100100
const result = await getMi(event, mockDeep<Context>(), jest.fn());
101101

102102
expect(result).toEqual(
@@ -113,7 +113,7 @@ describe("API Lambda handler", () => {
113113
pathParameters: { id: "id1" },
114114
});
115115

116-
const getMi = createGetMiHandler(mockedDeps);
116+
const getMi = createGetMIHandler(mockedDeps);
117117
const result = await getMi(event, mockDeep<Context>(), jest.fn());
118118

119119
expect(result).toEqual(
@@ -133,7 +133,7 @@ describe("API Lambda handler", () => {
133133
pathParameters: { id: "id1" },
134134
});
135135

136-
const getMi = createGetMiHandler(mockedDeps);
136+
const getMi = createGetMIHandler(mockedDeps);
137137
const result = await getMi(event, mockDeep<Context>(), jest.fn());
138138

139139
expect(result).toEqual(
@@ -153,7 +153,7 @@ describe("API Lambda handler", () => {
153153
},
154154
});
155155

156-
const getMi = createGetLetterHandler(mockedDeps);
156+
const getMi = createGetMIHandler(mockedDeps);
157157
const result = await getMi(event, mockDeep<Context>(), jest.fn());
158158

159159
expect(result).toEqual(

0 commit comments

Comments
 (0)