@@ -2,7 +2,7 @@ import { Context } from "aws-lambda";
22import { mockDeep } from "jest-mock-extended" ;
33import pino from "pino" ;
44import { MIRepository } from "@internal/datastore/src" ;
5- import { gettMI as getMiOperation } from "../../services/mi-operations" ;
5+ import { getMI as getMiOperation } from "../../services/mi-operations" ;
66import { makeApiGwEvent } from "./utils/test-utils" ;
77import { ApiErrorDetail } from "../../contracts/errors" ;
88import 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