From 7d9d9ad7fe3ad2910d40095f339671d793fb9498 Mon Sep 17 00:00:00 2001 From: "Kamat, Trivikram" <16024985+trivikr@users.noreply.github.com> Date: Mon, 12 Aug 2024 21:25:46 +0000 Subject: [PATCH] test(endpoint): enable test for s3 empty arn type --- tests/endpoints-2.0/endpoints-integration.spec.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/endpoints-2.0/endpoints-integration.spec.ts b/tests/endpoints-2.0/endpoints-integration.spec.ts index 2b6376043245..cae14cbd475d 100644 --- a/tests/endpoints-2.0/endpoints-integration.spec.ts +++ b/tests/endpoints-2.0/endpoints-integration.spec.ts @@ -82,10 +82,7 @@ function runTestCases(service: ServiceModel, namespace: ServiceNamespace) { const observedError = await (async () => defaultEndpointResolver(endpointParams as any))().catch(pass); expect(observedError).not.toBeUndefined(); expect(observedError?.url).toBeUndefined(); - // ToDo: debug why 'client-s3 > empty arn type' test case is failing - if (serviceId !== "s3" && documentation !== "empty arn type") { - expect(normalizeQuotes(String(observedError))).toContain(normalizeQuotes(error)); - } + expect(normalizeQuotes(String(observedError))).toContain(normalizeQuotes(error)); } } });