Skip to content

Commit 1adba99

Browse files
imports
1 parent d3aba34 commit 1adba99

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

tests/component-tests/apiGateway-tests/create-mi.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { expect, test } from "@playwright/test";
2-
import { getRestApiGatewayBaseUrl } from "../../helpers/aws-gateway-helper";
2+
import getRestApiGatewayBaseUrl from "../../helpers/aws-gateway-helper";
33
import { MI_ENDPOINT } from "../../constants/api-constants";
44
import {
55
createHeaderWithNoCorrelationId,

tests/component-tests/apiGateway-tests/get-letter-status.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { expect, test } from "@playwright/test";
2-
import { getRestApiGatewayBaseUrl } from "../../helpers/aws-gateway-helper";
2+
import getRestApiGatewayBaseUrl from "../../helpers/aws-gateway-helper";
33
import { getLettersBySupplier } from "../../helpers/generate-fetch-test-data";
44
import { SUPPLIERID, SUPPLIER_LETTERS } from "../../constants/api-constants";
55
import { createValidRequestHeaders } from "../../constants/request-headers";
@@ -12,6 +12,7 @@ let baseUrl: string;
1212

1313
test.beforeAll(async () => {
1414
baseUrl = await getRestApiGatewayBaseUrl();
15+
console.log(`Base URL for API Gateway: ${baseUrl}`);
1516
});
1617

1718
test.describe("API Gateway Tests to Verify Get Letter Status Endpoint", () => {

tests/component-tests/apiGateway-tests/get-letters.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {
66
createValidRequestHeaders,
77
} from "../../constants/request-headers";
88
import getRestApiGatewayBaseUrl from "../../helpers/aws-gateway-helper";
9-
import validateApiResponse from "../../helpers/validate-json-schema";
109

1110
let baseUrl: string;
1211

tests/component-tests/apiGateway-tests/update-letter-status.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { expect, test } from "@playwright/test";
22
import { randomUUID } from "node:crypto";
33
import { SUPPLIERID, SUPPLIER_LETTERS } from "../../constants/api-constants";
4-
import { getRestApiGatewayBaseUrl } from "../../helpers/aws-gateway-helper";
4+
import getRestApiGatewayBaseUrl from "../../helpers/aws-gateway-helper";
55
import {
66
patch400ErrorResponseBody,
77
patchFailureRequestBody,

tests/helpers/generate-fetch-test-data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
SUPPLIERID,
1010
envName,
1111
} from "../constants/api-constants";
12-
import { runCreateLetter } from "./pnpm-helpers";
12+
import runCreateLetter from "./pnpm-helpers";
1313

1414
const ddb = new DynamoDBClient({});
1515
const docClient = DynamoDBDocumentClient.from(ddb);

0 commit comments

Comments
 (0)