Skip to content

Enhance testing utilitie and add CI gh action#13

Merged
AmineAfia merged 6 commits intomainfrom
amine/fixtests
Oct 23, 2025
Merged

Enhance testing utilitie and add CI gh action#13
AmineAfia merged 6 commits intomainfrom
amine/fixtests

Conversation

@AmineAfia
Copy link
Owner

- Introduced internal testing utilities in `testHelpers.ts` for mock executor configurations and running tests with mock executors.
- Updated `PromptWithTests` to allow default empty executor configurations and added convenience handling for single executor parameters.
- Modified test cases to utilize the new testing utilities, improving flexibility in test execution.
- Updated related types to support new executor options in test configurations.
-  Add CI workflow configuration for testing and linting

- Introduced internal testing utilities in `testHelpers.ts` for mock executor configurations and running tests with mock executors.
- Updated `PromptWithTests` to allow default empty executor configurations and added convenience handling for single executor parameters.
- Modified test cases to utilize the new testing utilities, improving flexibility in test execution.
- Updated related types to support new executor options in test configurations.
- Updated `basic-usage.ts` to access `systemPrompt` directly instead of using bracket notation.
- Enhanced type definitions in `VercelAIExecutor.ts` for better clarity on tool descriptions.
- Improved type handling in `zodToJsonSchema.ts` by specifying more precise types for schema definitions and results.
- Adjusted `analytics.test.ts` to use more explicit types for instance management and circular reference handling.
- Reformatted `package.json` files for improved readability and consistency in indentation.
- Updated example files to ensure consistent formatting and removed unnecessary newlines.
- Enhanced code clarity in `basic-usage.ts`, `tool-integration.ts`, and other example files by standardizing console log statements.
- Cleaned up trailing whitespace in various files to maintain code quality.
@AmineAfia AmineAfia merged commit c25566e into main Oct 23, 2025
1 check passed
@AmineAfia AmineAfia deleted the amine/fixtests branch October 23, 2025 15:10
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