Skip to content

fix: add jest types to tsconfig for SDK packages#102

Merged
arshiya-moengage merged 3 commits intodevelopmentfrom
fix/add-jest-types-to-tsconfig
Apr 6, 2026
Merged

fix: add jest types to tsconfig for SDK packages#102
arshiya-moengage merged 3 commits intodevelopmentfrom
fix/add-jest-types-to-tsconfig

Conversation

@arshiya-moengage
Copy link
Copy Markdown
Collaborator

Summary

  • Added "types": ["jest"] to compilerOptions in tsconfig.json for sdk/cards, sdk/core, and sdk/expo
  • Fixes CI failure where tsc cannot find Jest globals (describe, it, expect) in test files, causing TS2593/TS2304 errors
  • sdk/geofence and sdk/inbox were not affected (no test files)

Test plan

  • Verify CI "Verify Pull Request" workflow passes for all SDK packages
  • Confirm tsc type-checking succeeds for cards, core, and expo test files

🤖 Generated with Claude Code

arshiya-moengage and others added 3 commits March 30, 2026 17:41
TypeScript compilation fails in CI because `describe`, `it`, and `expect`
globals are not recognized. Adding `"types": ["jest"]` to compilerOptions
resolves the TS2593/TS2304 errors in test files.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@arshiya-moengage arshiya-moengage merged commit e5c625a into development Apr 6, 2026
10 of 12 checks passed
@arshiya-moengage arshiya-moengage deleted the fix/add-jest-types-to-tsconfig branch April 6, 2026 12:12
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