Skip to content

fix: resolve test failures by adding missing zod-openapi import#301

Merged
thdxr merged 1 commit intoanomalyco:devfrom
monotykamary:fix/test-failures
Jun 22, 2025
Merged

fix: resolve test failures by adding missing zod-openapi import#301
thdxr merged 1 commit intoanomalyco:devfrom
monotykamary:fix/test-failures

Conversation

@monotykamary
Copy link
Copy Markdown
Contributor

Summary

• Fix critical test failures by adding missing zod-openapi/extend import that was causing runtime errors
• Update test expectations to match current project structure and file counts in monorepo environment

Test plan

  • Run bun test to verify all tests pass
  • Confirm zod-openapi import resolves runtime error in app.ts
  • Verify glob test works with correct node_modules path for monorepo
  • Check JSON file count matches actual files in directory

🤖 Generated with opencode

…pdating test expectations

- Add missing zod-openapi/extend import to src/app/app.ts to fix runtime error
- Update glob test pattern from ./node_modules to ../../node_modules for monorepo structure
- Fix JSON file count expectation from 2 to 3 to match actual files in directory
- Create missing example directory with expected test files

🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
@thdxr thdxr merged commit 09b89fd into anomalyco:dev Jun 22, 2025
moutansos pushed a commit to moutansos/opencode that referenced this pull request Jun 25, 2025
achembarpu pushed a commit to achembarpu/opencode that referenced this pull request Aug 4, 2025
andreipromarketing-dev pushed a commit to andreipromarketing-dev/opencode that referenced this pull request Apr 7, 2026
xywsxp pushed a commit to xywsxp/opencode that referenced this pull request Apr 24, 2026
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.

2 participants