chore: end to end test coverage for ts sdk#4357
Conversation
…ate CI test script
…orrect backward compatibility
# Conflicts: # docs/changelog.mdx # mem0-ts/package.json
|
Requested Changes 1. Fix the two known bugs instead of testing for them
2. Remove tautological tests~60% of the unit tests mock fetch to return Delete tests that assert response field values or 3. Break
|
What this PR does
Test breakdown
Client SDK (154 tests across 7 files):
Exception hierarchy (70 tests):
OSS SDK (109 tests across 7 files):
E2E tests (skipped by default):
Bug fixes
Reviewer feedback addressed
How to test
cd mem0-ts
npx jest --no-cache # 474 pass, 111 skipped
pnpm run build # build succeeds
MEM0_RUN_E2E=1 npx jest --no-cache # includes E2E tests
Type of change