Skip to content

test: cover sql macros plugin#245

Open
gebibd00-jpg wants to merge 1 commit into
outerbase:mainfrom
gebibd00-jpg:codex/outerbase-sql-macros-tests
Open

test: cover sql macros plugin#245
gebibd00-jpg wants to merge 1 commit into
outerbase:mainfrom
gebibd00-jpg:codex/outerbase-sql-macros-tests

Conversation

@gebibd00-jpg
Copy link
Copy Markdown

/claim #71

Summary

  • Add focused Vitest coverage for plugins/sql-macros/index.ts.
  • Cover plugin initialization, middleware config capture, no-data-source passthrough, admin SELECT * passthrough, current parser fallback behavior, $_exclude expansion for internal sources, external-source passthrough, and pragma query passthrough.

Validation

  • pnpm exec vitest run plugins/sql-macros/index.test.ts -> 8 tests passed
  • pnpm exec prettier --check plugins/sql-macros/index.test.ts -> passed
  • git diff --check -> passed

This is a test-only coverage slice with no production behavior changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant