Skip to content

fix: non-null assertion for indexed FIXTURES access#86

Merged
dottie-weaver merged 1 commit into
mainfrom
fix/catalog-test-strict-indexed-access
May 30, 2026
Merged

fix: non-null assertion for indexed FIXTURES access#86
dottie-weaver merged 1 commit into
mainfrom
fix/catalog-test-strict-indexed-access

Conversation

@dottie-weaver
Copy link
Copy Markdown
Collaborator

CI typecheck on main is failing because noUncheckedIndexedAccess makes FIXTURES['web.search'] return string | undefined. This adds a non-null assertion since the fixture is known to exist in the test context.

Single-line change, all 32 catalog tests pass locally. Safe to auto-merge on green CI.

…IndexedAccess

Under strict noUncheckedIndexedAccess, FIXTURES['web.search'] returns
string | undefined. Add non-null assertion since the fixture is known
to exist in the test context.
@dottie-weaver dottie-weaver merged commit b5465c9 into main May 30, 2026
1 check passed
@dottie-weaver dottie-weaver deleted the fix/catalog-test-strict-indexed-access branch May 30, 2026 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant