From f86859711dee11f2682eb031489b52614ebf1e77 Mon Sep 17 00:00:00 2001 From: naathanbrown Date: Thu, 14 Nov 2024 15:20:08 +0000 Subject: [PATCH] feat(cb2-14394): get token and call recalls --- tests/unit/handler/recalls.unit.test.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/unit/handler/recalls.unit.test.ts b/tests/unit/handler/recalls.unit.test.ts index f203218d..a1eccb13 100644 --- a/tests/unit/handler/recalls.unit.test.ts +++ b/tests/unit/handler/recalls.unit.test.ts @@ -1,8 +1,7 @@ -import type {APIGatewayProxyResult} from "aws-lambda"; +import { APIGatewayProxyEvent } from "aws-lambda/trigger/api-gateway-proxy"; import { handler } from '../../../src/handler/recalls'; -import {motRecalls} from "../../../src/models/motRecalls"; -import {APIGatewayProxyEvent} from "aws-lambda/trigger/api-gateway-proxy"; -import {ERRORS} from "../../../src/util/enum"; +import { MotRecalls } from "../../../src/models/motRecalls"; +import { ERRORS } from "../../../src/util/enum"; describe("Test Recalls endpoint", () => { beforeEach(() => { @@ -71,7 +70,7 @@ describe("Test Recalls endpoint", () => { }); describe("Constructing return object", () => { - const mockMotRecall : motRecalls = { + const mockMotRecall: MotRecalls = { vin: "", manufacturer: "audi", recalls: