-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: (dx) split out integ tests into provider specific (#1296)
Main bug fix #1295 These are the integ-tests changes <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Split integration tests into provider-specific files, add dynamic types and error handling tests, and update configuration for comprehensive testing. > > - **Integration Tests**: > - Split integration tests into provider-specific files, including `anthropic.test.ts`, `aws.test.ts`, `azure.test.ts`, `gemini.test.ts`, `openai.test.ts`, and `vertex.test.ts`. > - Add tests for dynamic types, error handling, input/output, recursive types, and tracing in `dynamic-types.test.ts`, `error-handling.test.ts`, `input-output.test.ts`, `recursive-types.test.ts`, and `tracing.test.ts`. > - Implement streaming tests for providers like AWS, Azure, Gemini, and OpenAI. > - **Configuration**: > - Update `jest.config.js` to use `ts-jest` and set up test environment and module mappings. > - Modify `package.json` scripts to include new test commands and dependencies. > - **Error Handling**: > - Add tests to handle invalid argument types, client configuration errors, and HTTP errors in `error-handling.test.ts`. > - **Dynamic Client Registry**: > - Test dynamic client configuration and credential resolution for AWS in `aws.test.ts`. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup> for 1d7b065. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: Chris Watts <chris.watts.t@gmail.com>
- Loading branch information
Showing
42 changed files
with
3,558 additions
and
270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.