Skip to content

update indexNamespace use in getDomainAndNamespace #8837

update indexNamespace use in getDomainAndNamespace

update indexNamespace use in getDomainAndNamespace #8837

Triggered via push January 2, 2025 17:56
Status Failure
Total duration 8m 29s
Artifacts 1

deploy.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
libs/sink-lib.test.ts > bulkUpdateDataWrapper > calls bulkUpdateData with correct arguments when env vars are defined: lib/libs/sink-lib.ts#L1241
ReferenceError: Cannot access 'indexNamespace' before initialization ❯ getDomainAndNamespace libs/sink-lib.ts:1241:52 ❯ Module.bulkUpdateDataWrapper libs/sink-lib.ts:1264:36 ❯ libs/sink-lib.test.ts:22:6
libs/sink-lib.test.ts > bulkUpdateDataWrapper > throws an Error when env vars are missing: lib/libs/sink-lib.test.ts#L365
AssertionError: expected [Function] to throw error including 'indexName is undefined in environment…' but got 'Cannot access \'indexNamespace\' befo…' Expected: "indexName is undefined in environment variables" Received: "Cannot access 'indexNamespace' before initialization" ❯ libs/sink-lib.test.ts:365:5
test
Process completed with exit code 1.
e2e
No files were found with the provided path: test/e2e/playwright-report/index.html. No artifacts will be uploaded.
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "aws-resources-tomb-bug". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
aws-resources-tomb-bug
111 KB