Array containing for events array #458
939 passed, 68 failed and 199 skipped
❌ jest-junit.xml
1206 tests were completed in 474s with 939 passed, 68 failed and 199 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
harness/features/allFeatures.cloud.test.ts | 2✅ | 1⚪ | 190ms | |
harness/features/allFeatures.cloud.test.ts | 2✅ | 1⚪ | 184ms | |
harness/features/allFeatures.cloud.test.ts | 2✅ | 1⚪ | 180ms | |
harness/features/allFeatures.cloud.test.ts | 3⚪ | 152ms | ||
harness/features/allFeatures.cloud.test.ts | 3⚪ | 157ms | ||
harness/features/allFeatures.cloud.test.ts | 2✅ | 1⚪ | 175ms | |
harness/features/allFeatures.cloud.test.ts | 2✅ | 1⚪ | 184ms | |
harness/features/allFeatures.cloud.test.ts | 2✅ | 1⚪ | 176ms | |
harness/features/allFeatures.local.test.ts | 3✅ | 3s | ||
harness/features/allFeatures.local.test.ts | 3✅ | 3s | ||
harness/features/allFeatures.local.test.ts | 3✅ | 335ms | ||
harness/features/allFeatures.local.test.ts | 3✅ | 208ms | ||
harness/features/allFeatures.local.test.ts | 3✅ | 259ms | ||
harness/features/allFeatures.local.test.ts | 1✅ | 2❌ | 483ms | |
harness/features/allFeatures.local.test.ts | 3✅ | 687ms | ||
harness/features/allFeatures.local.test.ts | 3✅ | 995ms | ||
harness/features/allVariables.cloud.test.ts | 5✅ | 286ms | ||
harness/features/allVariables.cloud.test.ts | 5✅ | 243ms | ||
harness/features/allVariables.cloud.test.ts | 5✅ | 4s | ||
harness/features/allVariables.cloud.test.ts | 5⚪ | 388ms | ||
harness/features/allVariables.cloud.test.ts | 5⚪ | 323ms | ||
harness/features/allVariables.cloud.test.ts | 5✅ | 4s | ||
harness/features/allVariables.cloud.test.ts | 5✅ | 7s | ||
harness/features/allVariables.cloud.test.ts | 5✅ | 8s | ||
harness/features/allVariables.local.test.ts | 2✅ | 476ms | ||
harness/features/allVariables.local.test.ts | 2✅ | 396ms | ||
harness/features/allVariables.local.test.ts | 2✅ | 3s | ||
harness/features/allVariables.local.test.ts | 2✅ | 3s | ||
harness/features/allVariables.local.test.ts | 2✅ | 354ms | ||
harness/features/allVariables.local.test.ts | 2✅ | 3s | ||
harness/features/allVariables.local.test.ts | 2❌ | 3s | ||
harness/features/allVariables.local.test.ts | 2✅ | 3s | ||
harness/features/bootstrapping.test.ts | 2⚪ | 198ms | ||
harness/features/bootstrapping.test.ts | 2⚪ | 159ms | ||
harness/features/bootstrapping.test.ts | 2⚪ | 147ms | ||
harness/features/bootstrapping.test.ts | 2⚪ | 262ms | ||
harness/features/bootstrapping.test.ts | 2⚪ | 420ms | ||
harness/features/bootstrapping.test.ts | 2⚪ | 281ms | ||
harness/features/bootstrapping.test.ts | 2⚪ | 389ms | ||
harness/features/bootstrapping.test.ts | 2✅ | 743ms | ||
harness/features/clientCustomData.test.ts | 2✅ | 598ms | ||
harness/features/clientCustomData.test.ts | 2✅ | 418ms | ||
harness/features/clientCustomData.test.ts | 2⚪ | 153ms | ||
harness/features/clientCustomData.test.ts | 2⚪ | 149ms | ||
harness/features/clientCustomData.test.ts | 2✅ | 2s | ||
harness/features/clientCustomData.test.ts | 2✅ | 385ms | ||
harness/features/clientCustomData.test.ts | 2⚪ | 186ms | ||
harness/features/clientCustomData.test.ts | 2✅ | 1s | ||
harness/features/initialize.cloud.test.ts | 3✅ | 161ms | ||
harness/features/initialize.cloud.test.ts | 3✅ | 143ms | ||
harness/features/initialize.cloud.test.ts | 3✅ | 134ms | ||
harness/features/initialize.cloud.test.ts | 3⚪ | 105ms | ||
harness/features/initialize.cloud.test.ts | 3⚪ | 106ms | ||
harness/features/initialize.cloud.test.ts | 3✅ | 118ms | ||
harness/features/initialize.cloud.test.ts | 3✅ | 126ms | ||
harness/features/initialize.cloud.test.ts | 3✅ | 142ms | ||
harness/features/initialize.local.test.ts | 12✅ | 1⚪ | 19s | |
harness/features/initialize.local.test.ts | 12✅ | 1⚪ | 19s | |
harness/features/initialize.local.test.ts | 12✅ | 1⚪ | 14s | |
harness/features/initialize.local.test.ts | 12✅ | 1⚪ | 15s | |
harness/features/initialize.local.test.ts | 12✅ | 1⚪ | 14s | |
harness/features/initialize.local.test.ts | 6✅ | 6❌ | 1⚪ | 15s |
harness/features/initialize.local.test.ts | 12✅ | 1⚪ | 16s | |
harness/features/initialize.local.test.ts | 12✅ | 1⚪ | 15s | |
harness/features/multithreading.local.test.ts | 5⚪ | 200ms | ||
harness/features/multithreading.local.test.ts | 5⚪ | 191ms | ||
harness/features/multithreading.local.test.ts | 5⚪ | 313ms | ||
harness/features/multithreading.local.test.ts | 5⚪ | 1s | ||
harness/features/multithreading.local.test.ts | 5⚪ | 1s | ||
harness/features/multithreading.local.test.ts | 5⚪ | 1s | ||
harness/features/multithreading.local.test.ts | 5⚪ | 210ms | ||
harness/features/multithreading.local.test.ts | 1✅ | 4❌ | 6s | |
harness/features/track.cloud.test.ts | 4✅ | 170ms | ||
harness/features/track.cloud.test.ts | 4✅ | 199ms | ||
harness/features/track.cloud.test.ts | 4✅ | 312ms | ||
harness/features/track.cloud.test.ts | 4⚪ | 164ms | ||
harness/features/track.cloud.test.ts | 4⚪ | 139ms | ||
harness/features/track.cloud.test.ts | 4✅ | 427ms | ||
harness/features/track.cloud.test.ts | 4✅ | 398ms | ||
harness/features/track.cloud.test.ts | 4✅ | 1s | ||
harness/features/track.local.test.ts | 4✅ | 8s | ||
harness/features/track.local.test.ts | 4✅ | 8s | ||
harness/features/track.local.test.ts | 4✅ | 6s | ||
harness/features/track.local.test.ts | 4✅ | 7s | ||
harness/features/track.local.test.ts | 4✅ | 8s | ||
harness/features/track.local.test.ts | 4❌ | 7s | ||
harness/features/track.local.test.ts | 4✅ | 6s | ||
harness/features/track.local.test.ts | 4✅ | 8s | ||
harness/features/variable.cloud.test.ts | 34✅ | 2⚪ | 938ms | |
harness/features/variable.cloud.test.ts | 34✅ | 2⚪ | 6s | |
harness/features/variable.cloud.test.ts | 32✅ | 2⚪ | 28s | |
harness/features/variable.cloud.test.ts | 36⚪ | 155ms | ||
harness/features/variable.cloud.test.ts | 36⚪ | 153ms | ||
harness/features/variable.cloud.test.ts | 34✅ | 2⚪ | 28s | |
harness/features/variable.cloud.test.ts | 34✅ | 2⚪ | 55s | |
harness/features/variable.cloud.test.ts | 34✅ | 2⚪ | 57s | |
harness/features/variable.local.test.ts | 66✅ | 41s | ||
harness/features/variable.local.test.ts | 66✅ | 43s | ||
harness/features/variable.local.test.ts | 58✅ | 8⚪ | 47s | |
harness/features/variable.local.test.ts | 58✅ | 8⚪ | 32s | |
harness/features/variable.local.test.ts | 16✅ | 50❌ | 48s | |
harness/features/variable.local.test.ts | 66✅ | 52s | ||
harness/features/variable.local.test.ts | 66✅ | 41s | ||
harness/features/variable.local.test.ts | 66✅ | 47s | ||
harness/types/capabilities.test.ts | 3✅ | 89ms | ||
harness/types/capabilities.test.ts | 3✅ | 88ms | ||
harness/types/capabilities.test.ts | 3✅ | 84ms | ||
harness/types/capabilities.test.ts | 3✅ | 140ms | ||
harness/types/capabilities.test.ts | 3✅ | 136ms | ||
harness/types/capabilities.test.ts | 3✅ | 160ms | ||
harness/types/capabilities.test.ts | 3✅ | 248ms | ||
harness/types/capabilities.test.ts | 3✅ | 191ms |
❌ harness/features/allFeatures.local.test.ts
allFeatures Tests - Local › uninitialized client
✅ should return empty object if client is uninitialized
allFeatures Tests - Local › initialized client
❌ should return all features for user without custom data
Error: Requests were expected but not received: POST https://myfakenockurl:443/client/2f2016a7-e9a9-4b96-a327-cd5b9ed52489/v1/events/batch
❌ should return all features for user with custom data
Error: Requests were expected but not received: POST https://myfakenockurl:443/client/d8b2695f-0806-4fe6-86b1-1b47f2dcf332/v1/events/batch
❌ harness/features/allVariables.local.test.ts
allVariables Tests - Local
❌ should return an empty object if client is not initialized
Error: Config request never received!
❌ should return a variable map for a bucketed user
Error: Requests were expected but not received: POST https://myfakenockurl:443/client/86ada8bf-562d-42d8-a869-3e8f947b66fa/v1/events/batch
❌ harness/features/initialize.local.test.ts
Initialize Tests - Local
✅ should error when SDK key is missing
✅ should error when SDK key is invalid
❌ initializes correctly on valid data
Error: Requests were expected but not received: POST https://myfakenockurl:443/client/ca461a2a-11f8-4a9e-92aa-8e157c8ebdb7/v1/events/batch
❌ calls initialize promise/callback when config is successfully retrieved
Error: Requests were expected but not received: POST https://myfakenockurl:443/client/0e85bc7b-7913-4b1a-93ed-99285b0c7202/v1/events/batch
✅ calls initialize promise/callback when config fails to be retrieved
✅ defaults variable when config fails to be retrieved, and then recovers
⚪ stops the polling interval when the sdk key is invalid and cdn responds 403, throws error
❌ fetches config again after 3 seconds when config polling interval is overriden
Error: Requests were expected but not received: POST https://myfakenockurl:443/client/c45add89-7041-416e-80c5-86d2a629759f/v1/events/batch
❌ uses the same config if the etag matches
Error: expect(received).toEqual(expected) // deep equality
✅ uses the same config if the refetch fails, after retrying once
✅ uses the same config if the response is invalid JSON
❌ uses the same config if the response is valid JSON but invalid data
Error: expect(received).toEqual(expected) // deep equality
❌ uses the new config when etag changes, and flushes existing events
Error: expect(received).toEqual(expected) // deep equality
❌ harness/features/multithreading.local.test.ts
Multithreading Tests › Go › initialized client
❌ should return variable if SDK returns object matching default type
Error: expect(received).toEqual(expected) // deep equality
❌ should aggregate events across threads
Error: expect(received).toEqual(expected) // deep equality
❌ should retry events across threads
Error: expect(received).toEqual(expected) // deep equality
Multithreading Tests › Go › initialized client › Go
✅ should set client custom data and use it for segmentation
Multithreading Tests › Go › uninitialized client
❌ should return default value if client is uninitialized, log event
Error: expect(received).toEqual(expected) // deep equality
❌ harness/features/track.local.test.ts
Track Tests - Local › Expect no events sent
❌ should not send an event if the event type not set
Error: Event callback timed out
Track Tests - Local › Expect events sent
❌ should call events API to track event
Error: expect(received).toEqual(expected) // deep equality
❌ should call events API to track 2 events
Error: expect(received).toEqual(expected) // deep equality
❌ should retry events API call to track 2 events and check interval of events is in specified window
Error: expect(received).toEqual(expected) // deep equality
❌ harness/features/variable.local.test.ts
Variable Tests - Local › initialized client › Variable string tests
❌ should return variable if mock server returns object matching default type
Error: expect(received).toEqual(expected) // deep equality
❌ should return variableValue if mock server returns object matching default type
Error: expect(received).toEqual(expected) // deep equality
❌ should return default value if default type doesn't match variable type
Error: expect(received).toEqual(expected) // deep equality
❌ should return default value if default type doesn't match variableValue type
Error: expect(received).toEqual(expected) // deep equality
❌ should return default value if user is not bucketed into variable
Error: expect(received).toEqual(expected) // deep equality
❌ should return default value if user is not bucketed into variableValue
Error: expect(received).toEqual(expected) // deep equality
❌ should return default value if variable doesn't exist
Error: expect(received).toEqual(expected) // deep equality
❌ should return default value if variableValue doesn't exist
Error: expect(received).toEqual(expected) // deep equality
❌ should aggregate aggVariableDefaulted events for variable
Error: expect(received).toEqual(expected) // deep equality
❌ should aggregate aggVariableDefaulted events for variableValue
Error: expect(received).toEqual(expected) // deep equality
❌ should aggregate aggVariableEvaluated events for variable
Error: expect(received).toEqual(expected) // deep equality
❌ should aggregate aggVariableEvaluated events for variableValue
Error: expect(received).toEqual(expected) // deep equality
Variable Tests - Local › initialized client › Variable number tests
❌ should return variable if mock server returns object matching default type
Error: expect(received).toEqual(expected) // deep equality
❌ should return variableValue if mock server returns object matching default type
Error: expect(received).toEqual(expected) // deep equality
❌ should return default value if default type doesn't match variable type
Error: expect(received).toEqual(expected) // deep equality
❌ should return default value if default type doesn't match variableValue type
Error: expect(received).toEqual(expected) // deep equality
❌ should return default value if user is not bucketed into variable
Error: expect(received).toEqual(expected) // deep equality
❌ should return default value if user is not bucketed into variableValue
Error: expect(received).toEqual(expected) // deep equality
❌ should return default value if variable doesn't exist
Error: expect(received).toEqual(expected) // deep equality
❌ should return default value if variableValue doesn't exist
Error: expect(received).toEqual(expected) // deep equality
❌ should aggregate aggVariableDefaulted events for variable
Error: expect(received).toEqual(expected) // deep equality
❌ should aggregate aggVariableDefaulted events for variableValue
Error: expect(received).toEqual(expected) // deep equality
❌ should aggregate aggVariableEvaluated events for variable
Error: expect(received).toEqual(expected) // deep equality
❌ should aggregate aggVariableEvaluated events for variableValue
Error: expect(received).toEqual(expected) // deep equality
Variable Tests - Local › initialized client › Variable boolean tests
❌ should return variable if mock server returns object matching default type
Error: expect(received).toEqual(expected) // deep equality
❌ should return variableValue if mock server returns object matching default type
Error: expect(received).toEqual(expected) // deep equality
❌ should return default value if default type doesn't match variable type
Error: expect(received).toEqual(expected) // deep equality
❌ should return default value if default type doesn't match variableValue type
Error: expect(received).toEqual(expected) // deep equality
❌ should return default value if user is not bucketed into variable
Error: expect(received).toEqual(expected) // deep equality
❌ should return default value if user is not bucketed into variableValue
Error: expect(received).toEqual(expected) // deep equality
❌ should return default value if variable doesn't exist
Error: expect(received).toEqual(expected) // deep equality
❌ should return default value if variableValue doesn't exist
Error: expect(received).toEqual(expected) // deep equality
❌ should aggregate aggVariableDefaulted events for variable
Error: expect(received).toEqual(expected) // deep equality
❌ should aggregate aggVariableDefaulted events for variableValue
Error: expect(received).toEqual(expected) // deep equality
❌ should aggregate aggVariableEvaluated events for variable
Error: expect(received).toEqual(expected) // deep equality
❌ should aggregate aggVariableEvaluated events for variableValue
Error: expect(received).toEqual(expected) // deep equality
Variable Tests - Local › initialized client › Variable JSON tests
❌ should return variable if mock server returns object matching default type
Error: expect(received).toEqual(expected) // deep equality
❌ should return variableValue if mock server returns object matching default type
Error: expect(received).toEqual(expected) // deep equality
❌ should return default value if default type doesn't match variable type
Error: expect(received).toEqual(expected) // deep equality
❌ should return default value if default type doesn't match variableValue type
Error: expect(received).toEqual(expected) // deep equality
❌ should return default value if user is not bucketed into variable
Error: expect(received).toEqual(expected) // deep equality
❌ should return default value if user is not bucketed into variableValue
Error: expect(received).toEqual(expected) // deep equality
❌ should return default value if variable doesn't exist
Error: expect(received).toEqual(expected) // deep equality
❌ should return default value if variableValue doesn't exist
Error: expect(received).toEqual(expected) // deep equality
❌ should aggregate aggVariableDefaulted events for variable
Error: expect(received).toEqual(expected) // deep equality
❌ should aggregate aggVariableDefaulted events for variableValue
Error: expect(received).toEqual(expected) // deep equality
❌ should aggregate aggVariableEvaluated events for variable
Error: expect(received).toEqual(expected) // deep equality
❌ should aggregate aggVariableEvaluated events for variableValue
Error: expect(received).toEqual(expected) // deep equality
Variable Tests - Local › initialized client
❌ should return a valid unicode string for variable
Error: expect(received).toEqual(expected) // deep equality
❌ should return a valid unicode string for variableValue
Error: expect(received).toEqual(expected) // deep equality
Variable Tests - Local › uninitialized client › Variable string tests
✅ should return variable default value if client is uninitialized, log event
✅ should return variableValue default value if client is uninitialized, log event
✅ should return default value for variable if client config failed, log event
✅ should return default value for variableValue if client config failed, log event
Variable Tests - Local › uninitialized client › Variable number tests
✅ should return variable default value if client is uninitialized, log event
✅ should return variableValue default value if client is uninitialized, log event
✅ should return default value for variable if client config failed, log event
✅ should return default value for variableValue if client config failed, log event
Variable Tests - Local › uninitialized client › Variable boolean tests
✅ should return variable default value if client is uninitialized, log event
✅ should return variableValue default value if client is uninitialized, log event
✅ should return default value for variable if client config failed, log event
✅ should return default value for variableValue if client config failed, log event
Variable Tests - Local › uninitialized client › Variable JSON tests
✅ should return variable default value if client is uninitialized, log event
✅ should return variableValue default value if client is uninitialized, log event
✅ should return default value for variable if client config failed, log event
✅ should return default value for variableValue if client config failed, log event
Annotations
Check failure on line 83 in harness/helpers/helpers.ts
github-actions / Test Report
harness/features/allFeatures.local.test.ts ► allFeatures Tests - Local › initialized client ► should return all features for user without custom data
Failed test found in:
jest-junit.xml
Error:
Error: Requests were expected but not received: POST https://myfakenockurl:443/client/2f2016a7-e9a9-4b96-a327-cd5b9ed52489/v1/events/batch
Raw output
Error: Requests were expected but not received: POST https://myfakenockurl:443/client/2f2016a7-e9a9-4b96-a327-cd5b9ed52489/v1/events/batch
at cleanupCurrentClient (/home/runner/work/test-harness/test-harness/harness/helpers/helpers.ts:83:15)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Object.<anonymous> (/home/runner/work/test-harness/test-harness/harness/helpers/helpers.ts:70:9)
Check failure on line 83 in harness/helpers/helpers.ts
github-actions / Test Report
harness/features/allFeatures.local.test.ts ► allFeatures Tests - Local › initialized client ► should return all features for user with custom data
Failed test found in:
jest-junit.xml
Error:
Error: Requests were expected but not received: POST https://myfakenockurl:443/client/d8b2695f-0806-4fe6-86b1-1b47f2dcf332/v1/events/batch
Raw output
Error: Requests were expected but not received: POST https://myfakenockurl:443/client/d8b2695f-0806-4fe6-86b1-1b47f2dcf332/v1/events/batch
at cleanupCurrentClient (/home/runner/work/test-harness/test-harness/harness/helpers/helpers.ts:83:15)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Object.<anonymous> (/home/runner/work/test-harness/test-harness/harness/helpers/helpers.ts:70:9)
Check failure on line 195 in harness/helpers/helpers.ts
github-actions / Test Report
harness/features/allVariables.local.test.ts ► allVariables Tests - Local ► should return an empty object if client is not initialized
Failed test found in:
jest-junit.xml
Error:
Error: Config request never received!
Raw output
Error: Config request never received!
at Timeout._onTimeout (/home/runner/work/test-harness/test-harness/harness/helpers/helpers.ts:195:20)
at listOnTimeout (node:internal/timers:573:17)
at processTimers (node:internal/timers:514:7)
Check failure on line 83 in harness/helpers/helpers.ts
github-actions / Test Report
harness/features/allVariables.local.test.ts ► allVariables Tests - Local ► should return a variable map for a bucketed user
Failed test found in:
jest-junit.xml
Error:
Error: Requests were expected but not received: POST https://myfakenockurl:443/client/86ada8bf-562d-42d8-a869-3e8f947b66fa/v1/events/batch
Raw output
Error: Requests were expected but not received: POST https://myfakenockurl:443/client/86ada8bf-562d-42d8-a869-3e8f947b66fa/v1/events/batch
at cleanupCurrentClient (/home/runner/work/test-harness/test-harness/harness/helpers/helpers.ts:83:15)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Object.<anonymous> (/home/runner/work/test-harness/test-harness/harness/helpers/helpers.ts:70:9)
Check failure on line 83 in harness/helpers/helpers.ts
github-actions / Test Report
harness/features/initialize.local.test.ts ► Initialize Tests - Local ► initializes correctly on valid data
Failed test found in:
jest-junit.xml
Error:
Error: Requests were expected but not received: POST https://myfakenockurl:443/client/ca461a2a-11f8-4a9e-92aa-8e157c8ebdb7/v1/events/batch
Raw output
Error: Requests were expected but not received: POST https://myfakenockurl:443/client/ca461a2a-11f8-4a9e-92aa-8e157c8ebdb7/v1/events/batch
at cleanupCurrentClient (/home/runner/work/test-harness/test-harness/harness/helpers/helpers.ts:83:15)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Object.<anonymous> (/home/runner/work/test-harness/test-harness/harness/helpers/helpers.ts:70:9)
Check failure on line 83 in harness/helpers/helpers.ts
github-actions / Test Report
harness/features/initialize.local.test.ts ► Initialize Tests - Local ► calls initialize promise/callback when config is successfully retrieved
Failed test found in:
jest-junit.xml
Error:
Error: Requests were expected but not received: POST https://myfakenockurl:443/client/0e85bc7b-7913-4b1a-93ed-99285b0c7202/v1/events/batch
Raw output
Error: Requests were expected but not received: POST https://myfakenockurl:443/client/0e85bc7b-7913-4b1a-93ed-99285b0c7202/v1/events/batch
at cleanupCurrentClient (/home/runner/work/test-harness/test-harness/harness/helpers/helpers.ts:83:15)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Object.<anonymous> (/home/runner/work/test-harness/test-harness/harness/helpers/helpers.ts:70:9)
Check failure on line 83 in harness/helpers/helpers.ts
github-actions / Test Report
harness/features/initialize.local.test.ts ► Initialize Tests - Local ► fetches config again after 3 seconds when config polling interval is overriden
Failed test found in:
jest-junit.xml
Error:
Error: Requests were expected but not received: POST https://myfakenockurl:443/client/c45add89-7041-416e-80c5-86d2a629759f/v1/events/batch
Raw output
Error: Requests were expected but not received: POST https://myfakenockurl:443/client/c45add89-7041-416e-80c5-86d2a629759f/v1/events/batch
at cleanupCurrentClient (/home/runner/work/test-harness/test-harness/harness/helpers/helpers.ts:83:15)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Object.<anonymous> (/home/runner/work/test-harness/test-harness/harness/helpers/helpers.ts:70:9)
Check failure on line 229 in harness/features/initialize.local.test.ts
github-actions / Test Report
harness/features/initialize.local.test.ts ► Initialize Tests - Local ► uses the same config if the etag matches
Failed test found in:
jest-junit.xml
Error:
Error: expect(received).toEqual(expected) // deep equality
Raw output
Error: expect(received).toEqual(expected) // deep equality
Expected: 0
Received: 1
at Object.<anonymous> (/home/runner/work/test-harness/test-harness/harness/features/initialize.local.test.ts:229:45)
Check failure on line 341 in harness/features/initialize.local.test.ts
github-actions / Test Report
harness/features/initialize.local.test.ts ► Initialize Tests - Local ► uses the same config if the response is valid JSON but invalid data
Failed test found in:
jest-junit.xml
Error:
Error: expect(received).toEqual(expected) // deep equality
Raw output
Error: expect(received).toEqual(expected) // deep equality
Expected: 0
Received: 1
at Object.<anonymous> (/home/runner/work/test-harness/test-harness/harness/features/initialize.local.test.ts:341:45)
Check failure on line 98 in harness/helpers/events.ts
github-actions / Test Report
harness/features/initialize.local.test.ts ► Initialize Tests - Local ► uses the new config when etag changes, and flushes existing events
Failed test found in:
jest-junit.xml
Error:
Error: expect(received).toEqual(expected) // deep equality
Raw output
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 32
Object {
- "batch": toIncludeSameMembers<[object Object]>,
+ "batch": Array [
+ Object {
+ "events": Array [
+ Object {
+ "clientDate": "2024-06-06T19:17:10.690678275Z",
+ "featureVars": Object {},
+ "metaData": Object {
+ "_feature": "638680d6fcb67b96878d90e6",
+ "_variation": "638680d6fcb67b96878d90ec",
+ "clientUUID": "84bb513c-35da-41ed-9aa9-580eebda2f80",
+ "configEtag": "first-etag",
+ "configLastModified": "Thu, 06 Jun 2024 19:16:58 GMT",
+ "configRayId": "first-ray",
+ },
+ "target": "number-var",
+ "type": "aggVariableEvaluated",
+ "user_id": "8e0cc3c164bd",
+ "value": 1,
+ },
+ ],
+ "user": Object {
+ "createdDate": "2024-06-06T19:17:10.690687672Z",
+ "hostname": "8e0cc3c164bd",
+ "lastSeenDate": "0001-01-01T00:00:00Z",
+ "platform": "Go",
+ "platformVersion": "go1.22.2",
+ "sdkType": "server",
+ "sdkVersion": "2.15.0",
+ "user_id": "8e0cc3c164bd",
+ },
+ },
+ ],
}
at expectAggregateEvaluationEvent (/home/runner/work/test-harness/test-harness/harness/helpers/events.ts:98:18)
at Object.<anonymous> (/home/runner/work/test-harness/test-harness/harness/features/initialize.local.test.ts:473:43)
Check failure on line 98 in harness/helpers/events.ts
github-actions / Test Report
harness/features/multithreading.local.test.ts ► Multithreading Tests › Go › initialized client ► should return variable if SDK returns object matching default type
Failed test found in:
jest-junit.xml
Error:
Error: expect(received).toEqual(expected) // deep equality
Raw output
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 32
Object {
- "batch": toIncludeSameMembers<[object Object]>,
+ "batch": Array [
+ Object {
+ "events": Array [
+ Object {
+ "clientDate": "2024-06-06T19:17:23.15960605Z",
+ "featureVars": Object {},
+ "metaData": Object {
+ "_feature": "638680d6fcb67b96878d90e6",
+ "_variation": "638680d6fcb67b96878d90ec",
+ "clientUUID": "496175a7-1cdc-47a4-9809-52ea49461645",
+ "configEtag": "multithreading-etag",
+ "configLastModified": "Thu, 06 Jun 2024 19:17:22 GMT",
+ "configRayId": "multithreading-rayid",
+ },
+ "target": "string-var",
+ "type": "aggVariableEvaluated",
+ "user_id": "8e0cc3c164bd",
+ "value": 1,
+ },
+ ],
+ "user": Object {
+ "createdDate": "2024-06-06T19:17:23.159620727Z",
+ "hostname": "8e0cc3c164bd",
+ "lastSeenDate": "0001-01-01T00:00:00Z",
+ "platform": "Go",
+ "platformVersion": "go1.22.2",
+ "sdkType": "server",
+ "sdkVersion": "2.15.0",
+ "user_id": "8e0cc3c164bd",
+ },
+ },
+ ],
}
at expectAggregateEvaluationEvent (/home/runner/work/test-harness/test-harness/harness/helpers/events.ts:98:18)
at Object.<anonymous> (/home/runner/work/test-harness/test-harness/harness/features/multithreading.local.test.ts:104:47)