Skip to content

Add focused LiteREST test coverage#184

Open
saad1728 wants to merge 1 commit into
outerbase:mainfrom
saad1728:add-literest-test-coverage
Open

Add focused LiteREST test coverage#184
saad1728 wants to merge 1 commit into
outerbase:mainfrom
saad1728:add-literest-test-coverage

Conversation

@saad1728
Copy link
Copy Markdown

Summary

Adds focused Vitest coverage for LiteREST behavior:

  • schema-qualified GET paths
  • missing table path handling
  • empty POST body validation
  • PATCH requests that only include the primary key
  • IN filter query generation

Testing

  • corepack pnpm test -- --run src/literest/index.test.ts
    • 30 tests passed

I also ran the full test suite before this change. It currently has 4 pre-existing failures in src/rls/index.test.ts, unrelated to this LiteREST-only test coverage update.

Related to #71

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