From 8e3120e8d9b8b3d04d9cede52d3d256756eb001f Mon Sep 17 00:00:00 2001 From: Ryan Lamb <4955475+kinyoklion@users.noreply.github.com> Date: Tue, 29 Oct 2024 08:33:25 -0700 Subject: [PATCH] chore: Enable polling report contract tests. (#639) --- .../sdk/browser/contract-tests/entity/src/ClientEntity.ts | 2 +- packages/sdk/browser/contract-tests/suppressions.txt | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/sdk/browser/contract-tests/entity/src/ClientEntity.ts b/packages/sdk/browser/contract-tests/entity/src/ClientEntity.ts index 6d50584d0..f05a587fe 100644 --- a/packages/sdk/browser/contract-tests/entity/src/ClientEntity.ts +++ b/packages/sdk/browser/contract-tests/entity/src/ClientEntity.ts @@ -18,7 +18,7 @@ function makeSdkConfig(options: SDKConfigParams, tag: string) { const cf: LDOptions = { withReasons: options.clientSide.evaluationReasons, logger: makeLogger(`${tag}.sdk`), - // useReport: options.clientSide.useReport, + useReport: options.clientSide.useReport, }; if (options.serviceEndpoints) { diff --git a/packages/sdk/browser/contract-tests/suppressions.txt b/packages/sdk/browser/contract-tests/suppressions.txt index 6410dd06f..30a7f7365 100644 --- a/packages/sdk/browser/contract-tests/suppressions.txt +++ b/packages/sdk/browser/contract-tests/suppressions.txt @@ -4,9 +4,3 @@ streaming/requests/URL path is computed correctly/no environment filter/base URI streaming/requests/context properties/single kind minimal/REPORT streaming/requests/context properties/single kind with all attributes/REPORT streaming/requests/context properties/multi-kind/REPORT -polling/requests/method and headers/REPORT/http -polling/requests/URL path is computed correctly/no environment filter/base URI has no trailing slash/REPORT -polling/requests/URL path is computed correctly/no environment filter/base URI has a trailing slash/REPORT -polling/requests/context properties/single kind minimal/REPORT -polling/requests/context properties/single kind with all attributes/REPORT -polling/requests/context properties/multi-kind/REPORT